imagemagick: add zero-configuration option

Closes #3276.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
Jeroen Ooms 2016-07-24 20:03:28 +02:00 committed by Andrew Janke
parent c02431b548
commit 73364818ad

View file

@ -30,6 +30,7 @@ class Imagemagick < Formula
option "without-magick-plus-plus", "disable build/install of Magick++"
option "without-modules", "Disable support for dynamically loadable modules"
option "without-threads", "Disable threads support"
option "with-zero-configuration", "Disables depending on XML configuration files"
depends_on "xz"
depends_on "libtool" => :run
@ -110,6 +111,7 @@ class Imagemagick < Formula
args << "--with-fontconfig=yes" if build.with? "fontconfig"
args << "--with-freetype=yes" if build.with? "freetype"
args << "--with-webp=yes" if build.with? "webp"
args << "--enable-zero-configuration" if build.with? "zero-configuration"
# versioned stuff in main tree is pointless for us
inreplace "configure", "${PACKAGE_NAME}-${PACKAGE_VERSION}", "${PACKAGE_NAME}"