diff options
author | jschauma <jschauma@pkgsrc.org> | 2006-12-02 22:32:59 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2006-12-02 22:32:59 +0000 |
commit | 721b60b433c2f8906e5064206e90937b196829ca (patch) | |
tree | 97923b6df098fa627f577ea81af4285038c9d84a /print/ghostscript-gnu | |
parent | 114ef6550554f18c0cd488aa39d20668e70e4f54 (diff) | |
download | pkgsrc-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/ghostscript-gnu')
-rw-r--r-- | print/ghostscript-gnu/Makefile | 9 |
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 |