Skip to content
Snippets Groups Projects
Commit 6c5416c5 authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

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

parent c9cc9e0d
No related branches found
No related tags found
No related merge requests found
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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment