git: 280dd32be207 - main - biology/mmseqs2: Not require OpenMP on systems where OpenMP isn't enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Jul 2022 16:41:15 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=280dd32be2077538747444b606794ef6496ae092 commit 280dd32be2077538747444b606794ef6496ae092 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-23 16:36:14 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-23 16:40:43 +0000 biology/mmseqs2: Not require OpenMP on systems where OpenMP isn't enabled Reported by: fallout Approved by: portmgr (blanket) --- biology/mmseqs2/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/biology/mmseqs2/Makefile b/biology/mmseqs2/Makefile index 4c7f440b96c2..43ff168de33a 100644 --- a/biology/mmseqs2/Makefile +++ b/biology/mmseqs2/Makefile @@ -25,6 +25,10 @@ LDFLAGS+= -lpthread PLIST_FILES= bin/mmseqs ${DATADIR}/bash-completion.sh +.if !exists(/usr/include/omp.h) +CMAKE_ARGS+= -DREQUIRE_OPENMP=0 +.endif + .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" && empty(CFLAGS:M*march=native*)