diff options
author | jschauma <jschauma@pkgsrc.org> | 2006-12-02 22:32:59 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2006-12-02 22:32:59 +0000 |
commit | f8689a84ed217f5d64ba442f5a5e3d238a9005bd (patch) | |
tree | 97923b6df098fa627f577ea81af4285038c9d84a /graphics/glitz | |
parent | 5c36824d5ee5785db470f8bc7d40f2bce370c7c7 (diff) | |
download | pkgsrc-f8689a84ed217f5d64ba442f5a5e3d238a9005bd.tar.gz |
Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
Diffstat (limited to 'graphics/glitz')
-rw-r--r-- | graphics/glitz/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/graphics/glitz/Makefile b/graphics/glitz/Makefile index 658d1254603..d8516ce00e3 100644 --- a/graphics/glitz/Makefile +++ b/graphics/glitz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2006/11/05 17:23:44 joerg Exp $ +# $NetBSD: Makefile,v 1.23 2006/12/02 22:32:59 jschauma Exp $ DISTNAME= glitz-0.5.6 PKGREVISION= 2 @@ -11,6 +11,7 @@ COMMENT= OpenGL 2D graphics library and a backend for gl output in cairo PKG_DESTDIR_SUPPORT= user-destdir +USE_LANGUAGES+= c99 USE_LIBTOOL= yes GNU_CONFIGURE= yes PKGCONFIG_OVERRIDE= src/agl/glitz-agl.pc.in src/glx/glitz-glx.pc.in \ @@ -23,12 +24,6 @@ CONFIGURE_ENV+= AGL_LIBS="-framework AGL" PLIST_SUBST+= AGL="@comment " .endif -.include "../../mk/compiler.mk" - -.if !empty(PKGSRC_COMPILER:Mmipspro*) -CFLAGS+= -c99 -.endif - .include "options.mk" .include "../../mk/pthread.buildlink3.mk" |