aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/ImageMagick/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 9c0a23e62973..f1a9b4ba597a 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -62,17 +62,18 @@ CONFIGURE_ARGS+= --with-threads
CONFIGURE_ARGS+= --without-threads
.endif
-.if defined(WITH_16BIT_PIXEL)
-CONFIGURE_ARGS+= --enable-16bit-pixel
-.else
+# Faster, but poor quality
+.if defined(WITHOUT_IMAGEMAGICK_16BIT_PIXEL)
CONFIGURE_ARGS+= --disable-16bit-pixel
.endif
+# Produce standard (small) GIFs
.if defined(HAVE_UNISYS_LICENSE)
CONFIGURE_ARGS+= --enable-lzw
.endif
-.if defined(WITH_MODULES)
+# Loadable coders, smaller executable
+.if !defined(WITHOUT_IMAGEMAGICK_MODULES)
LIB_DEPENDS+= ltdl.1:${PORTSDIR}/devel/libtool
LIBTOOLFLAGS= # none
CONFIGURE_ARGS+= --with-modules