diff options
author | jschauma <jschauma> | 2006-04-29 16:58:45 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2006-04-29 16:58:45 +0000 |
commit | 6f7fd39621548d798fdfd10a9844ceb4c45563a8 (patch) | |
tree | 461c502c2b61576baf7171bbac324806b4feb070 | |
parent | e3eb5d2bfb95a48986a73b274e07933b8f13fef9 (diff) | |
download | pkgsrc-6f7fd39621548d798fdfd10a9844ceb4c45563a8.tar.gz |
when using the MIPSPro compiler, pass '-c99', too.
-rw-r--r-- | x11/gtk/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 |