summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-10-08 21:11:55 +0000
committerjschauma <jschauma@pkgsrc.org>2005-10-08 21:11:55 +0000
commitedb536c795c1e114cc93d2b8ce529eb607fb0eb6 (patch)
tree20ab96bf45da03471bb763b802a762a3f7be4ddf /graphics
parentd6b8f0ce6e7bb122674fcdead39587f0601567bb (diff)
downloadpkgsrc-edb536c795c1e114cc93d2b8ce529eb607fb0eb6.tar.gz
Add '-c99' to CFLAGS for the MIPSPro compiler chain.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/jasper/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile
index effe385d67b..318baef704e 100644
--- a/graphics/jasper/Makefile
+++ b/graphics/jasper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2005/04/11 21:46:04 tv Exp $
+# $NetBSD: Makefile,v 1.19 2005/10/08 21:11:55 jschauma Exp $
#
DISTNAME= jasper-1.701.0
@@ -17,6 +17,12 @@ GNU_CONFIGURE= YES
USE_LIBTOOL= YES
CONFIGURE_ARGS+= --enable-shared --without-x --disable-opengl
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mmipspro*)
+CFLAGS+= -c99
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jasper
.for doc in jasper jpeg2000