summaryrefslogtreecommitdiff
path: root/graphics/libpixman
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-12-25 16:52:55 +0000
committerjschauma <jschauma@pkgsrc.org>2005-12-25 16:52:55 +0000
commit6c8da498c5ff6dec9abc92d7183b32bc60c76a29 (patch)
treeebc895696fc47f9848cf7ce83cebc8954bcb0804 /graphics/libpixman
parent4c40d1de4283d2f7e243a453f2801aac999bf4ee (diff)
downloadpkgsrc-6c8da498c5ff6dec9abc92d7183b32bc60c76a29.tar.gz
if using the Mipspro compiler chain, pass '-c99'.
Diffstat (limited to 'graphics/libpixman')
-rw-r--r--graphics/libpixman/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/libpixman/Makefile b/graphics/libpixman/Makefile
index b9ba0fcd989..1ee6cd9f1b9 100644
--- a/graphics/libpixman/Makefile
+++ b/graphics/libpixman/Makefile
@@ -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 @@ USE_LIBTOOL= yes
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"