diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-12-25 16:46:05 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-12-25 16:46:05 +0000 |
commit | 979b6444a60bd8416d00b52b2cad307083abe342 (patch) | |
tree | 167135c76b57611b6c0a758d5f26cb17c3799a92 /graphics/glitz | |
parent | 8525330006df59fa10cd687b919e9c9f856f5709 (diff) | |
download | pkgsrc-979b6444a60bd8416d00b52b2cad307083abe342.tar.gz |
if using the Mipspro compiler chain, pass '-c99'.
Diffstat (limited to 'graphics/glitz')
-rw-r--r-- | graphics/glitz/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/glitz/Makefile b/graphics/glitz/Makefile index ab0bb22f133..30a8ed09cd9 100644 --- a/graphics/glitz/Makefile +++ b/graphics/glitz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2005/11/03 01:47:08 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2005/12/25 16:46:05 jschauma Exp $ DISTNAME= glitz-0.4.4 PKGREVISION= 1 @@ -15,6 +15,12 @@ PKGCONFIG_OVERRIDE= glitz-agl.pc.in glitz-glx.pc.in glitz.pc.in LIBS.Darwin+= -lXext +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mmipspro*) +CFLAGS+= -c99 +.endif + .include "../../graphics/MesaLib/buildlink3.mk" .include "../../x11/xextensions/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" |