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 /graphics/ImageMagick/Makefile | |
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 'graphics/ImageMagick/Makefile')
-rw-r--r-- | graphics/ImageMagick/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index 91643bbaf0d..e68dfae06e1 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.146 2006/11/30 22:55:31 joerg Exp $ +# $NetBSD: Makefile,v 1.147 2006/12/02 22:32:59 jschauma Exp $ .include "Makefile.common" @@ -13,7 +13,7 @@ CONFLICTS= geomview<1.8.1nb2 # used to have a program named 'animate' PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c++ c99 USE_LIBTOOL= yes USE_TOOLS+= gmake GNU_CONFIGURE= yes @@ -44,12 +44,6 @@ CONFIGURE_ARGS+= --without-perl # WMF linkage is currently broke, since libMagick would need symbols from libWand CONFIGURE_ARGS+= --without-wmf -.include "../../mk/compiler.mk" - -.if !empty(PKGSRC_COMPILER:Mmipspro*) -CFLAGS+= -c99 -.endif - .include "../../archivers/bzip2/buildlink3.mk" .include "../../graphics/lcms/buildlink3.mk" .include "../../graphics/libexif/buildlink3.mk" |