summaryrefslogtreecommitdiff
path: root/sci-mathematics/normaliz/normaliz-3.9.3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/normaliz/normaliz-3.9.3.ebuild')
-rw-r--r--sci-mathematics/normaliz/normaliz-3.9.3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-mathematics/normaliz/normaliz-3.9.3.ebuild b/sci-mathematics/normaliz/normaliz-3.9.3.ebuild
index 7b7436eeb4e9..9fa89e9d001b 100644
--- a/sci-mathematics/normaliz/normaliz-3.9.3.ebuild
+++ b/sci-mathematics/normaliz/normaliz-3.9.3.ebuild
@@ -24,8 +24,12 @@ DEPEND="
"
# Only a boost header is needed -> not RDEPEND
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
pkg_setup() {
- use openmp && tc-check-openmp
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_configure() {