aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-03-05 13:27:50 +0800
committerXu Cheng2015-03-05 14:00:54 +0800
commit56a647746ee8f4dc7bfeeb393785124cdddae9a9 (patch)
treeee894717688f69bcb64cfa54015fadcf5dc2bbe1 /Library
parent48cd7a788b38ea1bfa5e16fa2e490a8e443bbd03 (diff)
downloadhomebrew-56a647746ee8f4dc7bfeeb393785124cdddae9a9.tar.bz2
graphviz: building bindings requires java
Closes #37388 Closes #37410. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/graphviz.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb
index 2a8e16503..6a6114b01 100644
--- a/Library/Formula/graphviz.rb
+++ b/Library/Formula/graphviz.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Graphviz < Formula
homepage "http://graphviz.org/"
url "http://graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.38.0.tar.gz"
@@ -36,6 +34,7 @@ class Graphviz < Formula
if build.with? "bindings"
depends_on "swig" => :build
depends_on :python
+ depends_on :java
end
fails_with :clang do