aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-08-11 22:39:14 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-08-12 01:37:47 +0000
commit6c5416c5894736424e0ba2efd063927aeb512bf7 (patch)
treee8b1ba5e974a294c5938a978105d51e750ab3058
parentc9cc9e0d9632e56a97bc334616bc995cd65bc7f8 (diff)
downloadports-6c5416c5894736424e0ba2efd063927aeb512bf7.tar.gz
ports-6c5416c5894736424e0ba2efd063927aeb512bf7.zip
biology/cd-hit: allow to build without GCC on libomp-less systems
-rw-r--r--biology/cd-hit/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/biology/cd-hit/Makefile b/biology/cd-hit/Makefile
index 4c27a9175716..e6e811ff7b26 100644
--- a/biology/cd-hit/Makefile
+++ b/biology/cd-hit/Makefile
@@ -1,7 +1,7 @@
PORTNAME= cd-hit
DISTVERSIONPREFIX= V
DISTVERSION= 4.8.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
@@ -17,10 +17,10 @@ GH_ACCOUNT= weizhongli
GH_PROJECT= cdhit
SHEBANG_FILES= ${WRKSRC}/*.pl
+.if exists(/usr/include/omp.h)
MAKE_FLAGS= openmp=yes
-
-.if !exists(/usr/include/omp.h)
-USES+= compiler:gcc-c++11-lib
+.else
+MAKE_FLAGS= openmp=no
.endif
post-patch: