pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2005Q3]: pkgsrc/print/ghostscript-gnu Pullup ticket 818 - requ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9bb43ad9b95
branches:  pkgsrc-2005Q3
changeset: 499580:f9bb43ad9b95
user:      salo <salo%pkgsrc.org@localhost>
date:      Sun Oct 09 23:01:54 2005 +0000

description:
Pullup ticket 818 - requested by Jan Schaumann
portability fix for ghostscript-gnu

Revisions pulled up:
- pkgsrc/print/ghostscript-gnu/Makefile.common          1.24

   Module Name:         pkgsrc
   Committed By:        jschauma
   Date:                Sat Oct  8 22:41:56 UTC 2005

   Modified Files:
        pkgsrc/print/ghostscript-gnu: Makefile.common

   Log Message:
   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 95fccf7320a6 -r f9bb43ad9b95 print/ghostscript-gnu/Makefile.common
--- a/print/ghostscript-gnu/Makefile.common     Sun Oct 09 22:58:53 2005 +0000
+++ b/print/ghostscript-gnu/Makefile.common     Sun Oct 09 23:01:54 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.23.4.1 2005/10/09 23:01:54 salo 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