summaryrefslogtreecommitdiff
path: root/converters/libiconv
diff options
context:
space:
mode:
authorjschauma <jschauma>2006-12-02 22:32:59 +0000
committerjschauma <jschauma>2006-12-02 22:32:59 +0000
commitc224f2013c6dd86f664309dac9b78b97cf953a2b (patch)
tree97923b6df098fa627f577ea81af4285038c9d84a /converters/libiconv
parent466b82ff731e2238dc1f95e4cda2b4689c2373a8 (diff)
downloadpkgsrc-c224f2013c6dd86f664309dac9b78b97cf953a2b.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 'converters/libiconv')
-rw-r--r--converters/libiconv/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile
index 8e57f646787..5d5f0d66b9b 100644
--- a/converters/libiconv/Makefile
+++ b/converters/libiconv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2006/11/14 13:55:34 joerg Exp $
+# $NetBSD: Makefile,v 1.45 2006/12/02 22:33:00 jschauma Exp $
DISTNAME= libiconv-1.10
PKGREVISION= 3
@@ -16,6 +16,7 @@ PATCH_DIST_STRIP= -p1
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
+USE_LANGUAGES+= c99
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -32,12 +33,6 @@ REQD_FILES= ${EGDIR}/charset.alias ${PREFIX}/lib/charset.alias
MAKE_ENV+= PAX=${PAX:Q}
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mmipspro*)
-CFLAGS+= -c99
-.endif
-
# remove any existing charset.alias; if it already exists, libiconv does
# not overwrite it, and older versions of libiconv wrote incorrect
# charset.alias files, which were not removed during deinstall since