diff options
author | obache <obache@pkgsrc.org> | 2014-07-20 11:18:23 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-07-20 11:18:23 +0000 |
commit | 19356d716d3564ee0683708be66693fe2c57ae94 (patch) | |
tree | 730c5ff6fcfeaea276ffedeb30d528366895c2a9 | |
parent | 67a6ad8f2766e7b078c9e96e0d033b59caa04ca5 (diff) | |
download | pkgsrc-19356d716d3564ee0683708be66693fe2c57ae94.tar.gz |
Move compiler check to last, allow to set GCC_REQD in somewhere else before.
PR pkg/48981.
-rw-r--r-- | multimedia/gnash/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/multimedia/gnash/Makefile b/multimedia/gnash/Makefile index 5b693f2cf2c..49d4746e8da 100644 --- a/multimedia/gnash/Makefile +++ b/multimedia/gnash/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.86 2014/05/31 15:56:27 wiz Exp $ +# $NetBSD: Makefile,v 1.87 2014/07/20 11:18:23 obache Exp $ # DISTNAME= gnash-0.8.10 @@ -39,11 +39,6 @@ CONF_FILES+= ${EGDIR}/gnashrc ${PKG_SYSCONFDIR}/gnashrc # against symbol `_ZNKSs5c_strEv' BUILDLINK_TRANSFORM+= rm:-fvisibility-inlines-hidden -.include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mclang) -CXXFLAGS+= -std=c++11 -.endif - .include "../../audio/speex/buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" .include "../../devel/boost-libs/buildlink3.mk" @@ -56,4 +51,10 @@ CXXFLAGS+= -std=c++11 .include "../../x11/libXft/buildlink3.mk" .include "../../x11/libXi/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" + +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -std=c++11 +.endif + .include "../../mk/bsd.pkg.mk" |