git: cf150ef9e2f6 - main - biology/fasttree: check for omp.h on all architectures

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

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

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

    biology/fasttree: check for omp.h on all architectures
---
 biology/fasttree/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/biology/fasttree/Makefile b/biology/fasttree/Makefile
index 5df2af1cf9a1..c47e9dabb557 100644
--- a/biology/fasttree/Makefile
+++ b/biology/fasttree/Makefile
@@ -10,14 +10,10 @@ COMMENT=	Approximately-maximum-likelihood phylogenetic trees from alignments
 
 LICENSE=	GPLv2+
 
-BROKEN_armv6=		fails to compile: FastTree-2.1.10.c:305:10: 'omp.h' file not found
-
 NO_WRKSUBDIR=	yes
 PLIST_FILES=	bin/FastTree
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == armv7 || ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 USES=		compiler:gcc-c++11-lib
 .endif