git: f607e85abd94 - main - games/stratagus: check for omp.h on all architectures

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

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

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

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

diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile
index 2254851f68ab..075839a63479 100644
--- a/games/stratagus/Makefile
+++ b/games/stratagus/Makefile
@@ -45,9 +45,7 @@ VORBIS_LIB_DEPENDS=	libvorbis.so:audio/libvorbis \
 			libogg.so:audio/libogg
 VORBIS_CMAKE_BOOL=	WITH_OGGVORBIS
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 USES+=		compiler:gcc-c++11-lib
 .else
 USES+=		compiler:c++17-lang