From 6c8da498c5ff6dec9abc92d7183b32bc60c76a29 Mon Sep 17 00:00:00 2001 From: jschauma Date: Sun, 25 Dec 2005 16:52:55 +0000 Subject: if using the Mipspro compiler chain, pass '-c99'. --- graphics/libpixman/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'graphics') 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" -- cgit v1.2.3