pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/ImageMagick make this compile on IRIX by pass...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32bd64752c97
branches:  trunk
changeset: 506116:32bd64752c97
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Thu Jan 12 04:01:14 2006 +0000

description:
make this compile on IRIX by passing '-c99' to the mipspro compiler

diffstat:

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

diffs (22 lines):

diff -r 93292c5652c7 -r 32bd64752c97 graphics/ImageMagick/Makefile
--- a/graphics/ImageMagick/Makefile     Thu Jan 12 03:00:45 2006 +0000
+++ b/graphics/ImageMagick/Makefile     Thu Jan 12 04:01:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.133 2005/12/05 20:50:18 rillig Exp $
+# $NetBSD: Makefile,v 1.134 2006/01/12 04:01:14 jschauma Exp $
 
 .include "Makefile.common"
 
@@ -38,6 +38,12 @@
 # Some configure_args come from Makefile.common
 CONFIGURE_ARGS+=       --without-perl
 
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mmipspro*)
+CFLAGS+=               -c99
+.endif
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../graphics/lcms/buildlink3.mk"
 .include "../../graphics/libexif/buildlink3.mk"



Home | Main Index | Thread Index | Old Index