summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authorjschauma <jschauma>2006-01-12 04:01:14 +0000
committerjschauma <jschauma>2006-01-12 04:01:14 +0000
commit79df80f5e185cf13bb5f112218df945e42811367 (patch)
treef32f005b75646b64a6c69677ba9837ec426060f4 /graphics/ImageMagick
parentb78a4d65c2d76ad89dc90dced640f941ea78ace7 (diff)
downloadpkgsrc-79df80f5e185cf13bb5f112218df945e42811367.tar.gz
make this compile on IRIX by passing '-c99' to the mipspro compiler
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r--graphics/ImageMagick/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index b44ea8c25e5..72f04a3556f 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -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 @@ CFLAGS+= -O
# 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"