Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2022 16:41:52 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: d5bf9f6b14a8 - 2022Q3 - biology/mmseqs2: Not require OpenMP on systems where OpenMP isn't enabled
Message-ID:  <202207231641.26NGfqIr046012@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2022Q3 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d5bf9f6b14a8fe4d83619d5605496f003e5a6478

commit d5bf9f6b14a8fe4d83619d5605496f003e5a6478
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:41:44 +0000

    biology/mmseqs2: Not require OpenMP on systems where OpenMP isn't enabled
    
    Reported by:    fallout
    Approved by:    portmgr (blanket)
    
    (cherry picked from commit 280dd32be2077538747444b606794ef6496ae092)
---
 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*)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207231641.26NGfqIr046012>