pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cdhit: Disable openmp on Darwin



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%abalone.acadix.biz@localhost>
Pushed By:	outpaddling
Date:		Fri Dec 17 10:16:24 2021 -0600
Changeset:	e8d250280db42172b01b353fcc5be7e994ad50a8

Modified Files:
	cdhit/Makefile

Log Message:
cdhit: Disable openmp on Darwin

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e8d250280db42172b01b353fcc5be7e994ad50a8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cdhit/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/cdhit/Makefile b/cdhit/Makefile
index 09a030fe14..b58936ed80 100644
--- a/cdhit/Makefile
+++ b/cdhit/Makefile
@@ -33,7 +33,13 @@ SUBST_MESSAGE.bash=	Fixing bash path
 SUBST_FILES.bash=	cd-hit-2d-para.pl cd-hit-para.pl
 SUBST_SED.bash=		-e 's|/bin/bash|${PREFIX}/bin/bash|g'
 
-MAKE_FLAGS+=		openmp=yes PREFIX=${DESTDIR}${PREFIX}/bin
+MAKE_FLAGS+=		PREFIX=${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+MAKE_FLAGS+=		openmp=no
+.endif
 
 DOCDIR=			${PREFIX}/share/doc/cdhit
 INSTALLATION_DIRS+=	bin ${DOCDIR}


Home | Main Index | Thread Index | Old Index