mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
biology/cd-hit: allow to build without GCC on libomp-less systems
This commit is contained in:
parent
c9cc9e0d96
commit
6c5416c589
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue