diff options
author | jschauma <jschauma@pkgsrc.org> | 2006-04-29 16:58:45 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2006-04-29 16:58:45 +0000 |
commit | fca75dea62413625bd999e35f66a335ee8c1358b (patch) | |
tree | 461c502c2b61576baf7171bbac324806b4feb070 /x11/gtk | |
parent | 8a1c18c795601b1855b310bab14631e147581f6a (diff) | |
download | pkgsrc-fca75dea62413625bd999e35f66a335ee8c1358b.tar.gz |
when using the MIPSPro compiler, pass '-c99', too.
Diffstat (limited to 'x11/gtk')
-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 |