summaryrefslogtreecommitdiff
path: root/devel/glib2
diff options
context:
space:
mode:
authorjschauma <jschauma>2006-04-30 16:58:03 +0000
committerjschauma <jschauma>2006-04-30 16:58:03 +0000
commit615cbcc44bcdfd12d193ebc6b477c56d8b7fa882 (patch)
tree8c0505f4472db8b2da2759894e88cc15d9c9e918 /devel/glib2
parent71f7c28ae017152b008ec30fe30a4f7c68edfe81 (diff)
downloadpkgsrc-615cbcc44bcdfd12d193ebc6b477c56d8b7fa882.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