libxml2: allow installation without Python
parent
fd72157297
commit
3adc842f1a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue