From 6c5416c5894736424e0ba2efd063927aeb512bf7 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sat, 12 Aug 2023 00:39:14 +0200 Subject: [PATCH] biology/cd-hit: allow to build without GCC on libomp-less systems --- biology/cd-hit/Makefile | 8 ++++---- 1 file 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: