aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/imagemagick.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb
index b26d2d0a5..0d81f7211 100644
--- a/Library/Formula/imagemagick.rb
+++ b/Library/Formula/imagemagick.rb
@@ -77,8 +77,8 @@ class Imagemagick < Formula
args << "--with-quantum-depth=#{quantum_depth}" if quantum_depth
args << "--with-rsvg" if build.with? 'rsvg'
args << "--without-x" unless build.with? 'x11'
- args << "--with-fontconfig=yes" if build.with? 'fontconfig' or MacOS::X11.installed?
- args << "--with-freetype=yes" if build.with? 'freetype' or MacOS::X11.installed?
+ args << "--with-fontconfig=yes" if build.with? 'fontconfig'
+ args << "--with-freetype=yes" if build.with? 'freetype'
# versioned stuff in main tree is pointless for us
inreplace 'configure', '${PACKAGE_NAME}-${PACKAGE_VERSION}', '${PACKAGE_NAME}'