diff options
author | jschauma <jschauma> | 2005-12-25 16:46:05 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2005-12-25 16:46:05 +0000 |
commit | aa4bef75d6c734e95b578a81c922f0376dba0a8f (patch) | |
tree | 167135c76b57611b6c0a758d5f26cb17c3799a92 | |
parent | 752fdfcfcb0c5a996445910c76f433dea64d399c (diff) | |
download | pkgsrc-aa4bef75d6c734e95b578a81c922f0376dba0a8f.tar.gz |
if using the Mipspro compiler chain, pass '-c99'.
-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" |