diff options
| author | Adam Vandenberg | 2012-10-15 11:15:52 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-15 11:15:52 -0700 |
| commit | 5a4a2f2ec2ed6db7a1ec8ac295342441640253e3 (patch) | |
| tree | fab0d16a061a48f47318c58b917981a9d205a28e /Library/Formula | |
| parent | 6633322183ff6baa27615c231c439ca8bc517cbc (diff) | |
| download | homebrew-5a4a2f2ec2ed6db7a1ec8ac295342441640253e3.tar.bz2 | |
ImageMagick: fix deps
Fixes #15471.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/imagemagick.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb index d42e04753..6cdb579e1 100644 --- a/Library/Formula/imagemagick.rb +++ b/Library/Formula/imagemagick.rb @@ -43,8 +43,9 @@ class Imagemagick < Formula depends_on 'jpeg' => :recommended depends_on :libpng depends_on :x11 if build.include? 'with-x' - depends_on :fontconfig => :optional if build.include? 'with-fontconfig' or MacOS::X11.installed? - depends_on :freetype => :recommended unless build.include? 'without-freetype' + # Can't use => with symbol deps + depends_on :fontconfig if build.include? 'with-fontconfig' or MacOS::X11.installed? # => :optional + depends_on :freetype unless build.include? 'without-freetype' # => :recommended depends_on 'ghostscript' => :optional if ghostscript_srsly? |
