summaryrefslogtreecommitdiff
path: root/devel/glib2
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 /devel/glib2
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 'devel/glib2')
-rw-r--r--devel/glib2/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile
index a85c110c68e..5f924d06ff3 100644
--- a/devel/glib2/Makefile
+++ b/devel/glib2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.109 2006/11/13 18:34:38 drochner Exp $
+# $NetBSD: Makefile,v 1.110 2006/12/02 22:32:59 jschauma Exp $
DISTNAME= glib-2.12.4
PKGNAME= ${DISTNAME:S/glib/glib2/}
@@ -18,7 +18,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt perl:run pkg-config
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++ c99
USE_LIBTOOL= yes
TEST_TARGET= check
@@ -54,12 +54,6 @@ CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
CPPFLAGS+= -DPKGLOCALEDIR="\"${PKGLOCALEDIR}\""
CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mmipspro*)
-CFLAGS+= -c99
-.endif
-
.if ${OPSYS} == "FreeBSD"
SUBST_CLASSES+= thr