From fca75dea62413625bd999e35f66a335ee8c1358b Mon Sep 17 00:00:00 2001 From: jschauma Date: Sat, 29 Apr 2006 16:58:45 +0000 Subject: when using the MIPSPro compiler, pass '-c99', too. --- x11/gtk/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'x11/gtk') diff --git a/x11/gtk/Makefile b/x11/gtk/Makefile index dfd1128faec..2674737d727 100644 --- a/x11/gtk/Makefile +++ b/x11/gtk/Makefile @@ -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 @@ GTK_MICRO_VERSION= ${GTK_VERSION:C/.*\.//} 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 -- cgit v1.2.3