summaryrefslogtreecommitdiff
path: root/graphics/glitz
diff options
context:
space:
mode:
authorjschauma <jschauma>2006-12-02 22:32:59 +0000
committerjschauma <jschauma>2006-12-02 22:32:59 +0000
commitc224f2013c6dd86f664309dac9b78b97cf953a2b (patch)
tree97923b6df098fa627f577ea81af4285038c9d84a /graphics/glitz
parent466b82ff731e2238dc1f95e4cda2b4689c2373a8 (diff)
downloadpkgsrc-c224f2013c6dd86f664309dac9b78b97cf953a2b.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/Makefile9
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"