summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-08 20:02:49 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-08 20:02:49 +0000
commitb1d4751d4c7c958e93d51528e243eb3840cf172c (patch)
treea2c2bb360d4778f3669580fefaf5f1a48e29ccab /graphics/ImageMagick/Makefile
parentFix master sites (diff)
Enable 16bit pixels by default since they are enabled by default in newer
ImageMagick versions. Add WITHOUT_ option to disable them. Enable modules by default, much smaller executable up to 10Mb runtime. Add WITHOUT_ option to disable them. Use IMAGEMAGICK portion for two WITHOUT_ option names mentioned above - it allows to put them to /etc/make.conf without conflicts. Add few comments about options
Notes
Notes: svn path=/head/; revision=45982
Diffstat (limited to '')
-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