git: 32db3f936760 - main - cad/meshlab: check for omp.h on all architectures

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

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

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

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

diff --git a/cad/meshlab/Makefile b/cad/meshlab/Makefile
index 354ff9d60f22..4ad1e51e1abe 100644
--- a/cad/meshlab/Makefile
+++ b/cad/meshlab/Makefile
@@ -26,9 +26,7 @@ QMAKE_SOURCE_PATH=	${WRKSRC}/src/meshlab.pro
 
 DOS2UNIX_GLOB=	*.c *.cpp *.h
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 USES+=		compiler:gcc-c++11-lib
 .else
 USES+=		compiler:c++11-lang