aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroyhodgman2012-09-14 18:45:59 -0400
committerAdam Vandenberg2012-09-15 13:19:45 -0700
commit496487f752996544cd579de6059c7c8bfa6efeb7 (patch)
treea61fdb8eb041068ff4832522cad7a29916c2ae97
parentc3c4496158e3473cab10a7775d5fe66d032e5b19 (diff)
downloadhomebrew-496487f752996544cd579de6059c7c8bfa6efeb7.tar.bz2
imagemagick: depends on freetype
Closes #14948. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/imagemagick.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb
index 694ab4e03..9af4a4710 100644
--- a/Library/Formula/imagemagick.rb
+++ b/Library/Formula/imagemagick.rb
@@ -35,12 +35,14 @@ class Imagemagick < Formula
option 'with-quantum-depth-16', 'Compile with a quantum depth of 16 bit'
option 'with-quantum-depth-32', 'Compile with a quantum depth of 32 bit'
option 'without-x', 'Compile without x11'
+ option 'without-freetype', 'Compile without freetype'
depends_on 'pkg-config' => :build
depends_on 'jpeg' => :recommended
depends_on :libpng
depends_on :x11 unless build.include? 'without-x'
+ depends_on :freetype unless build.include? 'without-freetype'
depends_on 'ghostscript' => :optional if ghostscript_srsly?
@@ -97,6 +99,7 @@ class Imagemagick < Formula
args << "--with-quantum-depth=#{quantum_depth}" if quantum_depth
args << "--with-rsvg" if build.include? 'use-rsvg'
args << "--without-x" if build.include? 'without-x'
+ args << "--with-freetype=yes" unless build.include? 'without-freetype'
# versioned stuff in main tree is pointless for us
inreplace 'configure', '${PACKAGE_NAME}-${PACKAGE_VERSION}', '${PACKAGE_NAME}'