diff options
author | jschauma <jschauma> | 2006-01-12 03:00:45 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2006-01-12 03:00:45 +0000 |
commit | b78a4d65c2d76ad89dc90dced640f941ea78ace7 (patch) | |
tree | 4e7b20914b2cddd256d3aaaaa716dbff17af9c51 | |
parent | a02899c30b9ccfad177a5e76244d0afe4c29b6db (diff) | |
download | pkgsrc-b78a4d65c2d76ad89dc90dced640f941ea78ace7.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" |