pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cairo Make this compile under IRIX by passing...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93292c5652c7
branches:  trunk
changeset: 506115:93292c5652c7
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Thu Jan 12 03:00:45 2006 +0000

description:
Make this compile under IRIX by passing '-c99' to the mipspro compiler.

diffstat:

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

diffs (22 lines):

diff -r 73768fd4c694 -r 93292c5652c7 graphics/cairo/Makefile
--- a/graphics/cairo/Makefile   Thu Jan 12 02:02:16 2006 +0000
+++ b/graphics/cairo/Makefile   Thu Jan 12 03:00:45 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2005/11/03 01:55:04 rillig Exp $
+# $NetBSD: Makefile,v 1.29 2006/01/12 03:00:45 jschauma Exp $
 
 DISTNAME=      cairo-1.0.2
 PKGREVISION=   1
@@ -36,6 +36,12 @@
 BUILDLINK_DEPENDS.glitz+=      glitz>=0.4.4
 BUILDLINK_DEPENDS.libpixman+=  libpixman>=0.1.5
 
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mmipspro*)
+CFLAGS+=                       -c99
+.endif
+
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../fonts/Xft2/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index