aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libxml2.rb
diff options
context:
space:
mode:
authorSamuel John2013-07-16 11:22:44 +0200
committerSamuel John2013-07-16 11:22:44 +0200
commitd1dedcce284e5308604a247947a3e1d7c7d419d5 (patch)
tree5ccb6d1c70a13ee792aa4671af6b07eace6f40a7 /Library/Formula/libxml2.rb
parent4be7e33a1df313d9a630d26758bc1339430885e5 (diff)
downloadhomebrew-d1dedcce284e5308604a247947a3e1d7c7d419d5.tar.bz2
libxml2: python bindings optional for OS X 10.6
Diffstat (limited to 'Library/Formula/libxml2.rb')
-rw-r--r--Library/Formula/libxml2.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/libxml2.rb b/Library/Formula/libxml2.rb
index b5bd2b513..a3dd6b359 100644
--- a/Library/Formula/libxml2.rb
+++ b/Library/Formula/libxml2.rb
@@ -19,7 +19,11 @@ 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 :python => ["2.7", :recommended]
+ if MacOS.version <= :snow_leopard
+ depends_on :python => ["2.7", :optional]
+ else
+ depends_on :python => ["2.7", :recommended]
+ end
end
fails_with :llvm do