summaryrefslogtreecommitdiff
path: root/graphics/libpixman
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-12-25 16:52:55 +0000
committerjschauma <jschauma>2005-12-25 16:52:55 +0000
commit5c7cb5679bed1c5ba6da4e16f08fba531ae49c2b (patch)
treeebc895696fc47f9848cf7ce83cebc8954bcb0804 /graphics/libpixman
parentcb078cd09a84b94e20d76c446b42b3a4d8acd5b4 (diff)
downloadpkgsrc-5c7cb5679bed1c5ba6da4e16f08fba531ae49c2b.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"