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 | 721b60b433c2f8906e5064206e90937b196829ca (patch) | |
tree | 97923b6df098fa627f577ea81af4285038c9d84a /graphics/glitz | |
parent | 114ef6550554f18c0cd488aa39d20668e70e4f54 (diff) | |
download | pkgsrc-721b60b433c2f8906e5064206e90937b196829ca.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" |