aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libxml2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/libxml2.rb')
-rw-r--r--Library/Formula/libxml2.rb31
1 files changed, 17 insertions, 14 deletions
diff --git a/Library/Formula/libxml2.rb b/Library/Formula/libxml2.rb
index f78d0a1c0..0f64ebd42 100644
--- a/Library/Formula/libxml2.rb
+++ b/Library/Formula/libxml2.rb
@@ -2,22 +2,12 @@ require 'formula'
class Libxml2 < Formula
homepage 'http://xmlsoft.org'
- url 'ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz'
- mirror 'http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz'
- sha256 'fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb'
- head 'https://git.gnome.org/browse/libxml2', :using => :git
+ stable do
+ url 'ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz'
+ mirror 'http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz'
+ sha256 'fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb'
- keg_only :provided_by_osx
-
- option :universal
-
- if build.head?
- depends_on :python => :recommended # satisfied by Python 2.6+
- depends_on :autoconf
- depends_on :automake
- depends_on :libtool
- else
# 2.9.1 cannot build with Python 2.6: https://github.com/mxcl/homebrew/issues/20249
if MacOS.version <= :snow_leopard
depends_on :python => ["2.7", :optional]
@@ -26,6 +16,19 @@ class Libxml2 < Formula
end
end
+ head do
+ url 'https://git.gnome.org/browse/libxml2', :using => :git
+
+ depends_on :python => :recommended # satisfied by Python 2.6+
+ depends_on :autoconf
+ depends_on :automake
+ depends_on :libtool
+ end
+
+ keg_only :provided_by_osx
+
+ option :universal
+
fails_with :llvm do
build 2326
cause "Undefined symbols when linking"