Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2022 13:40:35 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f607e85abd94 - main - games/stratagus: check for omp.h on all architectures
Message-ID:  <202204271340.23RDeZZ1080361@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204271340.23RDeZZ1080361>