pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/libiconv add -c99 to CFLAGS for IRIX' MIPSP...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a6a6ccb15a4
branches:  trunk
changeset: 499781:6a6a6ccb15a4
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Tue Sep 27 01:41:18 2005 +0000

description:
add -c99 to CFLAGS for IRIX' MIPSPro compilers.

diffstat:

 converters/libiconv/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r fc6084de87fa -r 6a6a6ccb15a4 converters/libiconv/Makefile
--- a/converters/libiconv/Makefile      Tue Sep 27 00:32:33 2005 +0000
+++ b/converters/libiconv/Makefile      Tue Sep 27 01:41:18 2005 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index