summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ImageMagick/Makefile')
-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"