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 /databases/shared-mime-info | |
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 'databases/shared-mime-info')
-rw-r--r-- | databases/shared-mime-info/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/databases/shared-mime-info/Makefile b/databases/shared-mime-info/Makefile index 86630ef3547..5d23dfa1cb6 100644 --- a/databases/shared-mime-info/Makefile +++ b/databases/shared-mime-info/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2006/10/04 20:53:46 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2006/12/02 22:33:00 jschauma Exp $ # DISTNAME= shared-mime-info-0.19 @@ -12,6 +12,7 @@ COMMENT= Core database of common types PKG_INSTALLATION_TYPES= overwrite pkgviews GNU_CONFIGURE= YES +USE_LANGUAGES+= c99 USE_LIBTOOL= YES USE_PKGLOCALEDIR= YES USE_TOOLS+= gmake intltool msgfmt pkg-config @@ -22,12 +23,6 @@ CONFIGURE_ARGS+= --disable-update-mimedb CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" -.include "../../mk/compiler.mk" - -.if !empty(PKGSRC_COMPILER:Mmipspro*) -CFLAGS+= -c99 -.endif - FILES_SUBST+= MIMEDB_PATH="${PREFIX}/share/mime" FILES_SUBST+= UPDATE_MIMEDB="${PREFIX}/bin/update-mime-database" |