git: 4b847fee2ca8 - main - devel/bullet: check for omp.h on all architectures

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

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

commit 4b847fee2ca87b5dd61f4a76e7c2a2c5b6a1e707
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-27 13:21:15 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-27 13:21:15 +0000

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

diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile
index 491b1a8ac8d1..90823c6973e9 100644
--- a/devel/bullet/Makefile
+++ b/devel/bullet/Makefile
@@ -50,9 +50,7 @@ OPTIONS_DEFINE=	DOCS
 
 PLIST_SUB=	LIB_VERSION=${PORTVERSION}
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 CMAKE_OFF+=	BULLET2_USE_OPEN_MP_MULTITHREADING
 .else
 CMAKE_ON+=	BULLET2_USE_OPEN_MP_MULTITHREADING