pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/glitz if using the Mipspro compiler chain, pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7bd6ecaa01b
branches:  trunk
changeset: 504847:c7bd6ecaa01b
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sun Dec 25 16:46:05 2005 +0000

description:
if using the Mipspro compiler chain, pass '-c99'.

diffstat:

 graphics/glitz/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 2667969b1b9b -r c7bd6ecaa01b graphics/glitz/Makefile
--- a/graphics/glitz/Makefile   Sun Dec 25 16:00:03 2005 +0000
+++ b/graphics/glitz/Makefile   Sun Dec 25 16:46:05 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/11/03 01:47:08 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2005/12/25 16:46:05 jschauma Exp $
 
 DISTNAME=      glitz-0.4.4
 PKGREVISION=   1
@@ -15,6 +15,12 @@
 
 LIBS.Darwin+=          -lXext
 
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mmipspro*)
+CFLAGS+=               -c99
+.endif
+
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../x11/xextensions/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"



Home | Main Index | Thread Index | Old Index