aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-12-03 03:57:39 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-12-03 04:00:49 +0000
commit62719d0cd235f86a8441b193eabdb30c5b722b16 (patch)
tree85ec53e2fc13d067b549d8b5e44af1cbf2bffe39
parent2fb071c44e254f34b77e37ea76683f67d76b17c6 (diff)
biology/metaeuk: Broken on systems where OpenMP isn't enabled
Reported by: fallout
-rw-r--r--biology/metaeuk/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/biology/metaeuk/Makefile b/biology/metaeuk/Makefile
index 69af5e4fa3fa..f186745977bf 100644
--- a/biology/metaeuk/Makefile
+++ b/biology/metaeuk/Makefile
@@ -11,6 +11,10 @@ WWW= https://github.com/soedinglab/metaeuk
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENCE.md
+.if !exists(/usr/include/omp.h)
+CMAKE_ARGS+= -DREQUIRE_OPENMP=0
+.endif
+
BUILD_DEPENDS= xxd:editors/vim
TEST_DEPENDS= bash:shells/bash