biology/cd-hit: allow to build without GCC on libomp-less systems

This commit is contained in:
Piotr Kubaj 2023-08-12 00:39:14 +02:00
parent c9cc9e0d96
commit 6c5416c589
1 changed files with 4 additions and 4 deletions

View File

@ -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: