diff options
author | jschauma <jschauma> | 2005-09-27 01:41:18 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2005-09-27 01:41:18 +0000 |
commit | e8a9bc39ed5a4ededabb5a061779e622b3a728a9 (patch) | |
tree | 2a037c41c7f75744c40d64fc10b9e2068df71b1a /converters | |
parent | fbeb1a7bef6cbafc3e78140f50ee2b59c5fef932 (diff) | |
download | pkgsrc-e8a9bc39ed5a4ededabb5a061779e622b3a728a9.tar.gz |
add -c99 to CFLAGS for IRIX' MIPSPro compilers.
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 |