aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libvirt.rb4
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