diff options
author | nia <nia@pkgsrc.org> | 2019-08-29 11:55:37 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-08-29 11:55:37 +0000 |
commit | 3f00c84ec8954724a6558b12e8594eb3e63f7a2d (patch) | |
tree | 872fe8c9692c81c6e76cc0727756ce44068f9a87 /emulators | |
parent | 024a37a4c5b31ddc93de3956a75a85a0f74080e0 (diff) | |
download | pkgsrc-3f00c84ec8954724a6558b12e8594eb3e63f7a2d.tar.gz |
openmsx: Pass CXX override as make flag rather than in the environment.
Seems to help avoid the wrath of the invalid compiler detector.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/openmsx/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile index 4531e3d650e..2b53b695f60 100644 --- a/emulators/openmsx/Makefile +++ b/emulators/openmsx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.56 2019/07/02 08:31:02 nia Exp $ +# $NetBSD: Makefile,v 1.57 2019/08/29 11:55:37 nia Exp $ DISTNAME= openmsx-0.15.0 CATEGORIES= emulators @@ -41,12 +41,12 @@ GCC_REQD+= 5 .include "../../mk/bsd.prefs.mk" do-configure: -.if !empty(PKGSRC_COMPILER:Mclang) - cd ${WRKSRC} && ${CONFIGURE_ENV} CXX=clang++ \ - ${GMAKE} -f build/main.mk probe +.if !empty(PKGSRC_COMPILER:M*clang*) + cd ${WRKSRC} && ${CONFIGURE_ENV} \ + ${GMAKE} -f build/main.mk probe CXX=clang++ .else - cd ${WRKSRC} && ${CONFIGURE_ENV} CXX=g++ \ - ${GMAKE} -f build/main.mk probe + cd ${WRKSRC} && ${CONFIGURE_ENV} \ + ${GMAKE} -f build/main.mk probe CXX=g++ .endif post-extract: |