git: eee818337497 - main - biology/metaeuk: Fix build on systems withour OpenMP enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Dec 2022 09:51:05 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=eee818337497110a8f4539b992607c07dc9fd1c6 commit eee818337497110a8f4539b992607c07dc9fd1c6 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-12-10 08:44:01 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-12-10 09:51:02 +0000 biology/metaeuk: Fix build on systems withour OpenMP enabled Reported by: fallout --- biology/metaeuk/Makefile | 8 ++++---- 1 file 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: