diff options
| author | Mike McQuaid | 2012-09-27 20:52:54 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2012-09-27 20:54:57 +0100 |
| commit | 4228082915bc2b75ca8918c35c819d0350713142 (patch) | |
| tree | b23928973d50f7fee7d4565d3fcd468d3319bca0 /Library | |
| parent | 63851d5a6c8e27faf1de4cd5673e2f7c8ab501ff (diff) | |
| download | homebrew-4228082915bc2b75ca8918c35c819d0350713142.tar.bz2 | |
graphviz: actually depends on freetype rather than gd.
References #14646.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/graphviz.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb index c085ce56f..5ecc7445b 100644 --- a/Library/Formula/graphviz.rb +++ b/Library/Formula/graphviz.rb @@ -10,6 +10,7 @@ class Graphviz < Formula option :universal option 'with-bindings', 'Build Perl/Python/Ruby/etc. bindings' option 'with-pangocairo', 'Build with Pango/Cairo for alternate PDF output' + option 'with-freetype', 'Build with FreeType support' option 'with-app', 'Build GraphViz.app (requires full XCode install)' depends_on :libpng @@ -17,8 +18,8 @@ class Graphviz < Formula depends_on 'pkg-config' => :build depends_on 'pango' if build.include? 'with-pangocairo' depends_on 'swig' if build.include? 'with-bindings' + depends_on :freetype if build.include? 'with-freetype' depends_on :xcode if build.include? 'with-app' - depends_on 'gd' fails_with :clang do build 318 @@ -34,11 +35,12 @@ class Graphviz < Formula args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", - "--with-qt=no", + "--without-qt", "--without-x", "--with-quartz"] args << "--disable-swig" unless build.include? 'with-bindings' args << "--without-pangocairo" unless build.include? 'with-pangocairo' + args << "--without-freetype2" unless build.include? 'with-freetype' system "./configure", *args system "make install" |
