aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Clift2010-10-24 12:00:30 +1100
committerAdam Vandenberg2010-10-23 18:22:58 -0700
commit2a6c88b24a75ca4e985a153127ef1982747eb6c9 (patch)
treea0be9338606ad3685da0e2c78813c4c704c46b17
parent6b150e33a752d84a371508bbd38508745180e275 (diff)
downloadhomebrew-2a6c88b24a75ca4e985a153127ef1982747eb6c9.tar.bz2
Updated formula: libvirt
Added dependencies specific to Leopard (10.5), that may also be applicable to earlier releases. Thanks to Ruben Kerkhof for the initial bug reports, plus assistance in testing and trying things out. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/libvirt.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/libvirt.rb b/Library/Formula/libvirt.rb
index 4f133e1c4..d665ac402 100644
--- a/Library/Formula/libvirt.rb
+++ b/Library/Formula/libvirt.rb
@@ -13,6 +13,14 @@ class Libvirt <Formula
depends_on "gawk"
depends_on "gnutls"
+ if MACOS_VERSION < 10.6
+ # Definitely needed on Leopard, but definitely not Snow Leopard.
+ # Likely also needed on earlier OSX releases, though that hasn't
+ # been tested yet.
+ depends_on "readline"
+ depends_on "libxml2"
+ end
+
def options
[['--without-libvirtd', 'Build only the virsh client and development libraries.']]
end