diff options
author | obache <obache@pkgsrc.org> | 2014-07-20 11:16:14 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-07-20 11:16:14 +0000 |
commit | 67a6ad8f2766e7b078c9e96e0d033b59caa04ca5 (patch) | |
tree | 6c4f5bbbde34dc9c192ab2b43d846c2a45e51a2e /graphics | |
parent | 53dd701fdabcf34d8e3ff9852841b10079109662 (diff) | |
download | pkgsrc-67a6ad8f2766e7b078c9e96e0d033b59caa04ca5.tar.gz |
Move compiler check last, allow to overwrite GCC_REQD in included files.
PR pkg/48985.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/openimageio/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile index 6bf932a30fd..fb34da38dac 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2014/07/09 20:00:01 ryoon Exp $ +# $NetBSD: Makefile,v 1.28 2014/07/20 11:16:14 obache Exp $ OIIOVER= 1.4.10 DISTNAME= oiio-Release-${OIIOVER} @@ -25,11 +25,6 @@ CMAKE_ARGS+= -DINSTALL_DOCS:BOOL=OFF # For redefinition of _rotl macro. BUILDLINK_TRANSFORM+= rm:-Werror -.include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mclang) -CXXFLAGS+= -Wno-deprecated-register -.endif - .include "../../devel/boost-libs/buildlink3.mk" .include "../../devel/hdf5/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" @@ -44,4 +39,10 @@ CXXFLAGS+= -Wno-deprecated-register .include "../../x11/qt4-libs/buildlink3.mk" BUILDLINK_DEPMETHOD.qt4-tools= build .include "../../x11/qt4-tools/buildlink3.mk" + +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -Wno-deprecated-register +.endif + .include "../../mk/bsd.pkg.mk" |