From 5a4a2f2ec2ed6db7a1ec8ac295342441640253e3 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 15 Oct 2012 11:15:52 -0700 Subject: ImageMagick: fix deps Fixes #15471. --- Library/Formula/imagemagick.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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? -- cgit v1.2.3