From ad80f329e6e91c1c6549c8df3c298a4d1d8a6657 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 24 Dec 2017 18:59:40 +0100 Subject: sci-biology/allpathslg: Sanitize ebuild Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- sci-biology/allpathslg/allpathslg-52488-r2.ebuild | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/sci-biology/allpathslg/allpathslg-52488-r2.ebuild b/sci-biology/allpathslg/allpathslg-52488-r2.ebuild index 391575f4f057..964904d66551 100644 --- a/sci-biology/allpathslg/allpathslg-52488-r2.ebuild +++ b/sci-biology/allpathslg/allpathslg-52488-r2.ebuild @@ -29,26 +29,11 @@ PATCHES=( ) pkg_pretend() { - # as of release 44849, GCC 4.7.0 (or higher) is required - # seems pre gcc-4.7 users must stay with: - # ftp://ftp.broadinstitute.org/pub/crd/ALLPATHS/Release-LG/latest_source_code/2013/2013-01/allpathslg-44837.tar.gz - if [[ ${MERGE_TYPE} != binary ]]; then - tc-is-gcc && [[ $(gcc-version) < 4.7 ]] && \ - die "You need to use gcc >4.7" - fi + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp } pkg_setup() { - if ! tc-has-openmp; then - ewarn "OpenMP is not available in your current selected compiler" - - if tc-is-clang; then - ewarn "OpenMP support in sys-devel/clang is provided by sys-libs/libomp," - ewarn "which you will need to build ${CATEGORY}/${PN} with USE=\"openmp\"" - fi - - die "need openmp capable compiler" - fi + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp } src_prepare() { -- cgit v1.2.3-65-gdbad