git: 6c5416c58947 - main - biology/cd-hit: allow to build without GCC on libomp-less systems
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Aug 2023 01:38:23 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c5416c5894736424e0ba2efd063927aeb512bf7 commit 6c5416c5894736424e0ba2efd063927aeb512bf7 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-08-11 22:39:14 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-08-12 01:37:47 +0000 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: