diff options
Diffstat (limited to 'converters')
-rw-r--r-- | converters/libiconv/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index cb64241efcc..047252f0a94 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2005/09/12 13:41:31 adam Exp $ +# $NetBSD: Makefile,v 1.39 2005/09/27 01:41:18 jschauma Exp $ DISTNAME= libiconv-1.10 PKGREVISION= 2 @@ -26,6 +26,12 @@ REQD_FILES= ${EGDIR}/charset.alias ${PREFIX}/lib/charset.alias MAKE_ENV+= PAX="${PAX}" +.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 |