diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-10-08 21:11:55 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-10-08 21:11:55 +0000 |
commit | 13477a19ce3fdd338787f951f5c0d52c154513db (patch) | |
tree | 20ab96bf45da03471bb763b802a762a3f7be4ddf /graphics | |
parent | 059e4a15b6c0352ea5b3518465ecd663a54fb77b (diff) | |
download | pkgsrc-13477a19ce3fdd338787f951f5c0d52c154513db.tar.gz |
Add '-c99' to CFLAGS for the MIPSPro compiler chain.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/jasper/Makefile | 8 |
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 |