diff options
| author | Doug Goldstein | 2013-06-06 14:12:33 -0500 |
|---|---|---|
| committer | Samuel John | 2013-06-12 18:20:01 +0200 |
| commit | 35cea0ba4241f92630fc979462b03a2361bb488f (patch) | |
| tree | 79378e9e9aff57452eb724314252d55cbb40caa1 | |
| parent | 8f7129d7144f1be071ef7c36acb8cd1144cfb9d7 (diff) | |
| download | homebrew-35cea0ba4241f92630fc979462b03a2361bb488f.tar.bz2 | |
libvirt: Add python bindings (:recommended)
With the new python dependency support in Homebrew, libvirt can now
build Python bindings.
Closes #20311.
Signed-off-by: Samuel John <github@SamuelJohn.de>
| -rw-r--r-- | Library/Formula/libvirt.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/libvirt.rb b/Library/Formula/libvirt.rb index a9e10d50e..644946f2a 100644 --- a/Library/Formula/libvirt.rb +++ b/Library/Formula/libvirt.rb @@ -11,6 +11,7 @@ class Libvirt < Formula depends_on 'gnutls' depends_on 'libgcrypt' depends_on 'yajl' + depends_on :python => :recommended if MacOS.version == :leopard # Definitely needed on Leopard, but not on Snow Leopard. @@ -37,7 +38,8 @@ class Libvirt < Formula "--with-yajl", "--without-qemu"] - args << "--without-libvirtd" if build.include? 'without-libvirtd' + args << "--without-libvirtd" if build.without? 'libvirtd' + args << "--without-python" if build.wihtout? 'python' system "./configure", *args |
