diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-10-08 22:41:56 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-10-08 22:41:56 +0000 |
commit | 9ab9e579e198cee79ce7e2001bd5aa51dfc4ad83 (patch) | |
tree | bcb8834fc8f0c2df488ca578b6351eeceef4f272 /print | |
parent | 87b801997bf59406fb1eca5d7e81da5cc7875642 (diff) | |
download | pkgsrc-9ab9e579e198cee79ce7e2001bd5aa51dfc4ad83.tar.gz |
add '-c99' to CFLAGS if using MIPSPro compilers
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript-gnu/Makefile.common | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/print/ghostscript-gnu/Makefile.common b/print/ghostscript-gnu/Makefile.common index 0fe4cc285e8..96edacceb59 100644 --- a/print/ghostscript-gnu/Makefile.common +++ b/print/ghostscript-gnu/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.23 2005/05/30 15:39:11 dillo Exp $ +# $NetBSD: Makefile.common,v 1.24 2005/10/08 22:41:56 jschauma Exp $ DISTNAME= ghostscript-${GS_VERS} GS_VERS= 8.15 @@ -67,6 +67,12 @@ LIBDIR= ${GSDATADIR}/lib PLIST_SUBST+= GS_VERS=${GS_VERS} +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mmipspro*) +CFLAGS+= -c99 +.endif + post-extract: ${MKDIR} ${WRKSRC}/bin ${MKDIR} ${WRKSRC}/obj |