git: 74016ad026a8 - main - biology/cd-hit: check for omp.h on all architectures

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 27 Apr 2022 13:40:23 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=74016ad026a87ddbf04a85e76c9bdb2ecbbffcf5

commit 74016ad026a87ddbf04a85e76c9bdb2ecbbffcf5
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-27 13:22:07 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-27 13:22:07 +0000

    biology/cd-hit: check for omp.h on all architectures
---
 biology/cd-hit/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/biology/cd-hit/Makefile b/biology/cd-hit/Makefile
index 7aaf04fa5e05..c93119761311 100644
--- a/biology/cd-hit/Makefile
+++ b/biology/cd-hit/Makefile
@@ -18,9 +18,7 @@ SHEBANG_FILES=	${WRKSRC}/*.pl
 
 MAKE_FLAGS=	openmp=yes
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == armv7 || ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 USES+=		compiler:gcc-c++11-lib
 .endif