Skip to content
Browse files

Move compiler check to last, allow to set GCC_REQD in somewhere else …

…before.

PR pkg/48981.
  • Loading branch information...
1 parent fd22cfa commit 016243a78f874c2134d15619c4fd849947bede9c obache committed Jul 20, 2014
Showing with 7 additions and 6 deletions.
  1. +7 −6 multimedia/gnash/Makefile
View
13 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"

0 comments on commit 016243a

Please sign in to comment.
Something went wrong with that request. Please try again.