pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtk when using the MIPSPro compiler, pass '-c99', ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1238313a915c
branches:  trunk
changeset: 512050:1238313a915c
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sat Apr 29 16:58:45 2006 +0000

description:
when using the MIPSPro compiler, pass '-c99', too.

diffstat:

 x11/gtk/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 4d5eb36d725b -r 1238313a915c x11/gtk/Makefile
--- a/x11/gtk/Makefile  Sat Apr 29 14:25:37 2006 +0000
+++ b/x11/gtk/Makefile  Sat Apr 29 16:58:45 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.117 2006/04/13 18:23:40 jlam Exp $
+# $NetBSD: Makefile,v 1.118 2006/04/29 16:58:45 jschauma Exp $
 
 DISTNAME=              gtk+-1.2.10
 PKGREVISION=           9
@@ -48,6 +48,12 @@
 DEINSTALL_TEMPLATE+=   ${PKGDIR}/INSTALL
 .endif
 
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mmipspro*)
+CFLAGS+=                -c99
+.endif
+
 # We patch the version info in the configure scripts for reasons related to
 # shared library numbering, but we don't want it to leak into the various
 # installed files.  Explicitly replace the version number with the correct



Home | Main Index | Thread Index | Old Index