pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/atk add "-c99" to the CFLAGS if using MIPSPro



details:   https://anonhg.NetBSD.org/pkgsrc/rev/29ca454b9422
branches:  trunk
changeset: 512402:29ca454b9422
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Mon May 08 20:01:21 2006 +0000

description:
add "-c99" to the CFLAGS if using MIPSPro

diffstat:

 devel/atk/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 5fd3fc9d23ae -r 29ca454b9422 devel/atk/Makefile
--- a/devel/atk/Makefile        Mon May 08 19:41:47 2006 +0000
+++ b/devel/atk/Makefile        Mon May 08 20:01:21 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2006/04/06 06:21:44 reed Exp $
+# $NetBSD: Makefile,v 1.49 2006/05/08 20:01:21 jschauma Exp $
 #
 
 DISTNAME=              atk-1.11.4
@@ -29,6 +29,12 @@
 
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.6.3
 
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mmipspro*)
+CFLAGS+=               -c99         
+.endif
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 



Home | Main Index | Thread Index | Old Index