git: 3358e40ac18b - main - archivers/pxz: check for omp.h on all architectures

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

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

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

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

diff --git a/archivers/pxz/Makefile b/archivers/pxz/Makefile
index 9988e39bf09b..47375cf87dd0 100644
--- a/archivers/pxz/Makefile
+++ b/archivers/pxz/Makefile
@@ -25,9 +25,7 @@ MAKE_ENV+=	BINDIR=${PREFIX}/bin \
 
 MAKE_ARGS+=	CC="${CC}"
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 USES+=		compiler:gcc-c++11-lib
 .endif