pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ghostscript-gnu add '-c99' to CFLAGS if using MI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c66552172509
branches:  trunk
changeset: 500473:c66552172509
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sat Oct 08 22:41:56 2005 +0000

description:
add '-c99' to CFLAGS if using MIPSPro compilers

diffstat:

 print/ghostscript-gnu/Makefile.common |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 005ad266bf9c -r c66552172509 print/ghostscript-gnu/Makefile.common
--- a/print/ghostscript-gnu/Makefile.common     Sat Oct 08 22:38:33 2005 +0000
+++ b/print/ghostscript-gnu/Makefile.common     Sat Oct 08 22:41:56 2005 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index