git: 62719d0cd235 - main - biology/metaeuk: Broken on systems where OpenMP isn't enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Dec 2022 04:00:53 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=62719d0cd235f86a8441b193eabdb30c5b722b16
commit 62719d0cd235f86a8441b193eabdb30c5b722b16
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-03 03:57:39 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-03 04:00:49 +0000
biology/metaeuk: Broken on systems where OpenMP isn't enabled
Reported by: fallout
---
biology/metaeuk/Makefile | 4 ++++
1 file changed, 4 insertions(+)
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