diff options
Diffstat (limited to 'sci-libs/parmetis/parmetis-4.0.3-r2.ebuild')
-rw-r--r-- | sci-libs/parmetis/parmetis-4.0.3-r2.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild b/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild index 1f1b3c8b4398..f24d1ffbe973 100644 --- a/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild +++ b/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild @@ -26,10 +26,12 @@ PATCHES=( "${FILESDIR}"/${PN}-4.0.3-02-unbundle-metis.patch ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - use openmp && tc-check-openmp - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_prepare() { |