diff options
| author | Adam Vandenberg | 2013-07-09 22:17:42 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-09 22:45:48 -0700 |
| commit | 04109b0cdc196992a03d58c6d570e3a1f403c0fa (patch) | |
| tree | 41ef8a663821eff94300e9e1d3aa705344f07630 /Library/Formula/libxml2.rb | |
| parent | 246f4b5416652bbb1d5a9664e0de896604a44727 (diff) | |
| download | homebrew-04109b0cdc196992a03d58c6d570e3a1f403c0fa.tar.bz2 | |
libxml2: allow installation without Python
Diffstat (limited to 'Library/Formula/libxml2.rb')
| -rw-r--r-- | Library/Formula/libxml2.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/libxml2.rb b/Library/Formula/libxml2.rb index aad2c2234..e3f429953 100644 --- a/Library/Formula/libxml2.rb +++ b/Library/Formula/libxml2.rb @@ -21,7 +21,7 @@ class Libxml2 < Formula depends_on :libtool else # 2.9.1 cannot build with Python 2.6: https://github.com/mxcl/homebrew/issues/20249 - depends_on PythonInstalled.new("2.7") => :recommended + depends_on PythonInstalled.new("2.7") if build.with? 'python' end fails_with :llvm do @@ -58,8 +58,7 @@ class Libxml2 < Formula rm path if path.exist? ln_s f, path } - end - + end if build.with? 'python' end def caveats |
