Skip to content

Commit

Permalink
Try to build with fontconfig and freetype to get rid of annoying rspe…
Browse files Browse the repository at this point in the history
…c errors
  • Loading branch information
RepublicOfAppsLLC committed Feb 5, 2014
1 parent f0621e5 commit 8957d3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions files/brews/imagemagick.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class Imagemagick < Formula

depends_on 'jpeg' => :recommended
depends_on :libpng => :recommended
depends_on :freetype => :recommended
depends_on :freetype

depends_on :x11 => :optional
depends_on :fontconfig => :optional
depends_on :fontconfig
depends_on 'libtiff' => :optional
depends_on 'little-cms' => :optional
depends_on 'jasper' => :optional
Expand Down Expand Up @@ -70,8 +70,8 @@ def install
args << "--with-quantum-depth=#{quantum_depth}" if quantum_depth
args << "--with-rsvg" if build.with? 'rsvg'
args << "--without-x" unless build.with? 'x'
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 true or build.with? 'fontconfig' or MacOS::X11.installed?
args << "--with-freetype=yes" if true or build.with? 'freetype' or MacOS::X11.installed?

# versioned stuff in main tree is pointless for us
inreplace 'configure', '${PACKAGE_NAME}-${PACKAGE_VERSION}', '${PACKAGE_NAME}'
Expand Down

0 comments on commit 8957d3f

Please sign in to comment.