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
This commit is contained in:
Andrey A. Chernov 2001-08-08 20:02:49 +00:00
parent 192887c8fe
commit b1d4751d4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45982

View file

@ -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