diff options
author | jschauma <jschauma@pkgsrc.org> | 2006-01-12 03:00:45 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2006-01-12 03:00:45 +0000 |
commit | 3a03af9a7ce8a9127051f3d178b85ac960353758 (patch) | |
tree | 4e7b20914b2cddd256d3aaaaa716dbff17af9c51 | |
parent | a5e3084d98c6fe0acca26435a07e30fa63d077a0 (diff) | |
download | pkgsrc-3a03af9a7ce8a9127051f3d178b85ac960353758.tar.gz |
Make this compile under IRIX by passing '-c99' to the mipspro compiler.
-rw-r--r-- | graphics/cairo/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index 9cb623c9595..a7af409b7c1 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -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.Xrender+= Xrender>=0.8 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" |