summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2006-12-02 22:32:59 +0000
committerjschauma <jschauma@pkgsrc.org>2006-12-02 22:32:59 +0000
commitf8689a84ed217f5d64ba442f5a5e3d238a9005bd (patch)
tree97923b6df098fa627f577ea81af4285038c9d84a /converters
parent5c36824d5ee5785db470f8bc7d40f2bce370c7c7 (diff)
downloadpkgsrc-f8689a84ed217f5d64ba442f5a5e3d238a9005bd.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')
-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