aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/graphviz.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/graphviz.rb')
-rw-r--r--Library/Formula/graphviz.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb
index b086a66ea..25644a54c 100644
--- a/Library/Formula/graphviz.rb
+++ b/Library/Formula/graphviz.rb
@@ -10,6 +10,7 @@ class Graphviz < Formula
sha1 'a1e6ba5d9298aa87b78170e2c74f21d7e579364e'
end
+ # To find Ruby and Co.
env :std
option :universal
@@ -25,6 +26,7 @@ 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 :python if build.include? 'with-bindings' # this will set up python
depends_on 'gts' if build.include? 'with-gts'
depends_on :freetype if build.include? 'with-freetype' or MacOS::X11.installed?
depends_on :x11 if build.include? 'with-x' or MacOS::X11.installed?