biology/mmseqs2: Not require OpenMP on systems where OpenMP isn't enabled

Reported by:	fallout
Approved by:	portmgr (blanket)
This commit is contained in:
Yuri Victorovich 2022-07-23 09:36:14 -07:00
parent c52e62fa83
commit 280dd32be2

View File

@ -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*)