aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/subversion.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb
index 5b911b35a..68a868ffb 100644
--- a/Library/Formula/subversion.rb
+++ b/Library/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