pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2005Q3]: pkgsrc/graphics/jasper Pullup ticket 817 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95fccf7320a6
branches:  pkgsrc-2005Q3
changeset: 499579:95fccf7320a6
user:      salo <salo%pkgsrc.org@localhost>
date:      Sun Oct 09 22:58:53 2005 +0000

description:
Pullup ticket 817 - requested by Jan Schaumann
portability fix for jasper

Revisions pulled up:
- pkgsrc/graphics/jasper/Makefile       1.19

   Module Name:         pkgsrc
   Committed By:        jschauma
   Date:                Sat Oct  8 21:11:55 UTC 2005

   Modified Files:
        pkgsrc/graphics/jasper: Makefile

   Log Message:
   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 0f2cc2529e7e -r 95fccf7320a6 graphics/jasper/Makefile
--- a/graphics/jasper/Makefile  Sun Oct 09 00:18:14 2005 +0000
+++ b/graphics/jasper/Makefile  Sun Oct 09 22:58:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2005/04/11 21:46:04 tv Exp $
+# $NetBSD: Makefile,v 1.18.4.1 2005/10/09 22:58:53 salo 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