aboutsummaryrefslogtreecommitdiff
path: root/biology/metaeuk
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-12-10 08:44:01 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-12-10 09:51:02 +0000
commiteee818337497110a8f4539b992607c07dc9fd1c6 (patch)
treef9f7899e22c8b4085a262117c729b23ae8c4110c /biology/metaeuk
parent749a79b5fe276e0efd3539fffeeda5ccba9f2e7f (diff)
Diffstat (limited to 'biology/metaeuk')
-rw-r--r--biology/metaeuk/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/biology/metaeuk/Makefile b/biology/metaeuk/Makefile
index f186745977bf..40712e9b8a1c 100644
--- a/biology/metaeuk/Makefile
+++ b/biology/metaeuk/Makefile
@@ -11,10 +11,6 @@ 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
@@ -34,6 +30,10 @@ CMAKE_OFF= NATIVE_ARCH
.if !exists(/usr/include/omp.h)
CMAKE_ARGS+= -DREQUIRE_OPENMP:BOOL=OFF
+
+post-patch: # workaround for https://github.com/soedinglab/metaeuk/issues/55
+ @${REINPLACE_CMD} -e 's|set(REQUIRE_OPENMP 1 |set(REQUIRE_OPENMP 0 |' ${WRKSRC}/lib/mmseqs/src/CMakeLists.txt
+
.endif
do-test: