summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2006-12-02 22:32:59 +0000
committerjschauma <jschauma@pkgsrc.org>2006-12-02 22:32:59 +0000
commit721b60b433c2f8906e5064206e90937b196829ca (patch)
tree97923b6df098fa627f577ea81af4285038c9d84a /print
parent114ef6550554f18c0cd488aa39d20668e70e4f54 (diff)
downloadpkgsrc-721b60b433c2f8906e5064206e90937b196829ca.tar.gz
Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing. May need to be reviewed/added for other compilers. ok rillig@
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-gnu/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile
index 10b5a323e5e..7c243b5e787 100644
--- a/print/ghostscript-gnu/Makefile
+++ b/print/ghostscript-gnu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/11/05 17:34:44 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2006/12/02 22:33:00 jschauma Exp $
DISTNAME= ghostscript-${GS_VERS}
PKGNAME= ghostscript-gnu-${GS_VERS}
@@ -22,6 +22,7 @@ CONFLICTS+= ghostscript-gnu{,-nox11,-x11}-[0-9]*
DEPENDS+= ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts
+USE_LANGUAGES+= c99
USE_TOOLS+= gmake
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-ijs
@@ -76,12 +77,6 @@ LIBDIR= ${GSDATADIR}/lib
PLIST_SUBST+= GS_VERS=${GS_VERS:Q}
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mmipspro*)
-CFLAGS+= -c99
-.endif
-
post-extract:
${MKDIR} ${WRKSRC}/bin
${MKDIR} ${WRKSRC}/obj