pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/glib2 when using mipspro compiler, pass '-c99'



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9b4f51e39c5
branches:  trunk
changeset: 512059:a9b4f51e39c5
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sun Apr 30 16:58:03 2006 +0000

description:
when using mipspro compiler, pass '-c99'

diffstat:

 devel/glib2/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 2cd1a0830df3 -r a9b4f51e39c5 devel/glib2/Makefile
--- a/devel/glib2/Makefile      Sun Apr 30 16:43:59 2006 +0000
+++ b/devel/glib2/Makefile      Sun Apr 30 16:58:03 2006 +0000
@@ -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+=             -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



Home | Main Index | Thread Index | Old Index