From f8689a84ed217f5d64ba442f5a5e3d238a9005bd Mon Sep 17 00:00:00 2001 From: jschauma Date: Sat, 2 Dec 2006 22:32:59 +0000 Subject: 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@ --- converters/libiconv/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'converters') 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 -- cgit v1.2.3