diff options
| -rw-r--r-- | Library/Formula/graphviz.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb index a87c4bd3c..303fdb1fb 100644 --- a/Library/Formula/graphviz.rb +++ b/Library/Formula/graphviz.rb @@ -1,7 +1,7 @@ require 'formula' def build_bindings? - ARGV.include? '--with-bindings' or (MacOS.lion? and not ARGV.include? '--without-bindings') + ARGV.include? '--with-bindings' and not ARGV.include? '--without-bindings' end class Graphviz < Formula @@ -9,10 +9,11 @@ class Graphviz < Formula url 'http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.28.0.tar.gz' sha1 '4725d88a13e071ee22e632de551d4a55ca08ee7d' + depends_on :libpng + depends_on 'pkg-config' => :build depends_on 'pango' if ARGV.include? '--with-pangocairo' depends_on 'swig' if build_bindings? - depends_on :x11 fails_with :clang do build 318 |
