diff options
author | jschauma <jschauma> | 2006-04-30 16:58:03 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2006-04-30 16:58:03 +0000 |
commit | b70cea1e24e1b569afff3c8fcb633efd78484925 (patch) | |
tree | 8c0505f4472db8b2da2759894e88cc15d9c9e918 /devel | |
parent | db1c3881873ff7830d3017e15228ca4f1be94440 (diff) | |
download | pkgsrc-b70cea1e24e1b569afff3c8fcb633efd78484925.tar.gz |
when using mipspro compiler, pass '-c99'
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib2/Makefile | 8 |
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 |