diff options
author | jschauma <jschauma> | 2006-04-29 16:58:45 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2006-04-29 16:58:45 +0000 |
commit | f92b3bfc8edda41d7d5ebd6fe60f23f990248659 (patch) | |
tree | 461c502c2b61576baf7171bbac324806b4feb070 /x11/gtk | |
parent | 72429b6e13897c32c00ade232a5446da9df1d7db (diff) | |
download | pkgsrc-f92b3bfc8edda41d7d5ebd6fe60f23f990248659.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 |