summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-06-20 13:31:51 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-06-20 13:31:51 +0000
commitcc1b5a1caec256cf4573b5e7f6f3738cc13eed1c (patch)
treeb1895395c025d7fa9cb93bdd6d171132bc99e531 /graphics/ImageMagick
parentAdd rubyphoto 1.4, a program for creating image galleries for the web. (diff)
Restore LZW knob, not expired yet in Europe and Japan.
Autoenable it, if USA_RESIDENT == YES
Notes
Notes: svn path=/head/; revision=83362
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 93922cb3893e..39db8427caef 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -50,7 +50,7 @@ LIBTOOLFLAGS= # none
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-shared --with-perl=${PERL5} \
- --without-gslib --enable-lzw
+ --without-gslib
INSTALLS_SHLIB= yes
MAN1= ImageMagick.1 Magick++-config.1 Magick-config.1 \
@@ -78,6 +78,12 @@ CONFIGURE_ARGS+= --without-threads
CONFIGURE_ARGS+= --with-quantum-depth=8
.endif
+# Produce standard (small) GIFs
+.if defined(HAVE_UNISYS_LICENSE) || \
+ (defined(USA_RESIDENT) && ${USA_RESIDENT} == "YES")
+CONFIGURE_ARGS+= --enable-lzw
+.endif
+
# Loadable coders, smaller executable, but PerlMagick not really works
# ('make test' there works)
.if defined(WITH_IMAGEMAGICK_MODULES)