git: 9ae05c32aa2e - main - sysutils/parafly: check for omp.h on all architectures

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

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

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

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

diff --git a/sysutils/parafly/Makefile b/sysutils/parafly/Makefile
index 3acb97b09107..980e9843fce1 100644
--- a/sysutils/parafly/Makefile
+++ b/sysutils/parafly/Makefile
@@ -21,9 +21,7 @@ LDFLAGS+=	-fopenmp
 
 PLIST_FILES=	bin/ParaFly
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 USES+=		compiler:gcc-c++11-lib
 .endif