pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libpixman if using the Mipspro compiler chain...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5786cc8bf35b
branches:  trunk
changeset: 504849:5786cc8bf35b
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sun Dec 25 16:52:55 2005 +0000

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

diffstat:

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

diffs (20 lines):

diff -r 3fbb85014250 -r 5786cc8bf35b graphics/libpixman/Makefile
--- a/graphics/libpixman/Makefile       Sun Dec 25 16:52:20 2005 +0000
+++ b/graphics/libpixman/Makefile       Sun Dec 25 16:52:55 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2005/07/29 12:16:21 adam Exp $
+# $NetBSD: Makefile,v 1.14 2005/12/25 16:52:55 jschauma Exp $
 
 DISTNAME=      libpixman-0.1.6
 CATEGORIES=    graphics
@@ -13,4 +13,10 @@
 PKGCONFIG_OVERRIDE+=   libpixman.pc.in
 GNU_CONFIGURE=         yes
 
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mmipspro*)
+CFLAGS+=               -c99
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index