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/cairo | |
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/cairo')
-rw-r--r-- | graphics/cairo/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index c57f6e2697d..d09684ae23e 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.51 2006/11/09 20:57:40 drochner Exp $ +# $NetBSD: Makefile,v 1.52 2006/12/02 22:32:59 jschauma Exp $ DISTNAME= cairo-1.2.6 CATEGORIES= graphics @@ -10,6 +10,7 @@ COMMENT= Vector graphics library with cross-device output support PKG_DESTDIR_SUPPORT= user-destdir +USE_LANGUAGES+= c99 USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes USE_TOOLS+= pkg-config @@ -32,12 +33,6 @@ PLIST_SUBST+= CARBON="@comment " BUILDLINK_API_DEPENDS.glitz+= glitz>=0.5.1 -.include "../../mk/compiler.mk" - -.if !empty(PKGSRC_COMPILER:Mmipspro*) -CFLAGS+= -c99 -.endif - # For snprintf() CPPFLAGS.SunOS+= -D__EXTENSIONS__ |