summaryrefslogtreecommitdiff
path: root/devel/glib2
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2006-04-30 16:58:03 +0000
committerjschauma <jschauma@pkgsrc.org>2006-04-30 16:58:03 +0000
commita1fb8e316890e4950ca71ca394d2e3a0744c7b9f (patch)
tree8c0505f4472db8b2da2759894e88cc15d9c9e918 /devel/glib2
parentbbe53ccfcbf0725541fbb7bc094a9e2785e6101e (diff)
downloadpkgsrc-a1fb8e316890e4950ca71ca394d2e3a0744c7b9f.tar.gz
when using mipspro compiler, pass '-c99'
Diffstat (limited to 'devel/glib2')
-rw-r--r--devel/glib2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile
index 071c6045925..16d94c177b9 100644
--- a/devel/glib2/Makefile
+++ b/devel/glib2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.97 2006/04/13 18:23:31 jlam Exp $
+# $NetBSD: Makefile,v 1.98 2006/04/30 16:58:03 jschauma Exp $
DISTNAME= glib-2.10.2
PKGNAME= ${DISTNAME:S/glib/glib2/}
@@ -53,6 +53,12 @@ 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