aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorArthur Darcet2015-04-02 11:50:40 +0200
committerMike McQuaid2015-04-02 12:10:04 +0100
commitf6b47796d0fc3a05cc00d62fc68556b77ad5a1dc (patch)
treeb130d190db2cd9ca6a31737b1c91ea48fa4d963c /Library
parent257fde9b7dd23975d82b03021c72372dee3e98d0 (diff)
downloadhomebrew-f6b47796d0fc3a05cc00d62fc68556b77ad5a1dc.tar.bz2
imagemagick: optional pango dependency.
Closes #38296. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/imagemagick.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb
index b4fc4a86d..2bb977770 100644
--- a/Library/Formula/imagemagick.rb
+++ b/Library/Formula/imagemagick.rb
@@ -43,6 +43,7 @@ class Imagemagick < Formula
depends_on "webp" => :optional
depends_on "homebrew/versions/openjpeg21" if build.with? "jp2"
depends_on "fftw" => :optional
+ depends_on "pango" => :optional
depends_on "xz"
@@ -54,7 +55,6 @@ class Imagemagick < Formula
"--disable-dependency-tracking",
"--enable-shared",
"--disable-static",
- "--without-pango",
"--with-modules",
"--disable-openmp"]
@@ -65,6 +65,7 @@ class Imagemagick < Formula
args << "--without-magick-plus-plus" if build.without? "magick-plus-plus"
args << "--enable-hdri=yes" if build.include? "enable-hdri"
args << "--enable-fftw=yes" if build.with? "fftw"
+ args << "--without-pango" if build.without? "pango"
if build.with? "quantum-depth-32"
quantum_depth = 32