diff --git a/Formula/subversion.rb b/Formula/subversion.rb index 5b911b35ab..68a868ffb1 100644 --- a/Formula/subversion.rb +++ b/Formula/subversion.rb @@ -34,7 +34,7 @@ class Subversion < Formula depends_on :libtool # Bindings require swig - depends_on 'swig' if build.include? 'perl' or build.include? 'python' or build.include? 'ruby' + depends_on 'swig' if build.include? 'perl' or build.with? 'python' or build.include? 'ruby' # For Serf depends_on 'scons' => :build @@ -149,7 +149,7 @@ class Subversion < Formula system "make tools" system "make install-tools" - python do + if build.with? 'python' system "make swig-py" system "make install-swig-py" end @@ -205,8 +205,6 @@ class Subversion < Formula #{opt_prefix}/libexec EOS - s += python.standard_caveats if python - if build.include? 'perl' s += <<-EOS.undent