diff options
author | jschauma <jschauma> | 2005-12-25 16:52:55 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2005-12-25 16:52:55 +0000 |
commit | a4e5e7979f2fda1777ac77ff274a628b8226135f (patch) | |
tree | ebc895696fc47f9848cf7ce83cebc8954bcb0804 /graphics/libpixman | |
parent | d30cb13f7c76c063e6e41979d277ba97a3d8c850 (diff) | |
download | pkgsrc-a4e5e7979f2fda1777ac77ff274a628b8226135f.tar.gz |
if using the Mipspro compiler chain, pass '-c99'.
Diffstat (limited to 'graphics/libpixman')
-rw-r--r-- | graphics/libpixman/Makefile | 8 |
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" |