aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpd.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-02-24 16:51:22 -0800
committerAdam Vandenberg2013-02-24 16:51:22 -0800
commit3e7cc037a4739bbc783f7f9134156bb3b2865a3e (patch)
treea2e78d2e0f949326df469a4caf3bf483ab8afeea /Library/Formula/mpd.rb
parent6860e9ffc4412df3daf1aca74cbdb79e79a679f3 (diff)
downloadhomebrew-3e7cc037a4739bbc783f7f9134156bb3b2865a3e.tar.bz2
mpd: fix libzzip dependency
Closes #18066.
Diffstat (limited to 'Library/Formula/mpd.rb')
-rw-r--r--Library/Formula/mpd.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb
index 5e3341ae9..df11fc274 100644
--- a/Library/Formula/mpd.rb
+++ b/Library/Formula/mpd.rb
@@ -36,11 +36,12 @@ class Mpd < Formula
"--enable-flac",
"--enable-shout",
"--enable-fluidsynth",
- "--enable-zzip",
"--enable-lame-encoder"]
+
+ args << "--enable-zzip" if build.with? "libzzip"
args << "--disable-curl" if MacOS.version == :leopard
args << "--enable-lastfm" if build.include?("lastfm")
- args << '--disable-libwrap' unless build.include? 'libwrap'
+ args << "--disable-libwrap" unless build.include? 'libwrap'
system "./configure", *args
system "make"