pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/jasper Add '-c99' to CFLAGS for the MIPSPro c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7ee08552518
branches:  trunk
changeset: 500465:d7ee08552518
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sat Oct 08 21:11:55 2005 +0000

description:
Add '-c99' to CFLAGS for the MIPSPro compiler chain.

diffstat:

 graphics/jasper/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 51f3b21f76df -r d7ee08552518 graphics/jasper/Makefile
--- a/graphics/jasper/Makefile  Sat Oct 08 21:04:36 2005 +0000
+++ b/graphics/jasper/Makefile  Sat Oct 08 21:11:55 2005 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index