aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mpd.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb
index 29db0e828..f08bb3787 100644
--- a/Library/Formula/mpd.rb
+++ b/Library/Formula/mpd.rb
@@ -8,6 +8,7 @@ class Mpd < Formula
head "git://git.musicpd.org/master/mpd.git"
option "lastfm", "Compile with experimental support for Last.fm radio"
+ option 'libwrap', 'Enable support of TCP Wrappers (buggy on 10.7)'
depends_on 'pkg-config' => :build
depends_on 'glib'
@@ -38,6 +39,7 @@ class Mpd < Formula
"--enable-lame-encoder"]
args << "--disable-curl" if MacOS.version == :leopard
args << "--enable-lastfm" if build.include?("lastfm")
+ args << '--disable-libwrap' unless build.include? 'libwrap'
system "./configure", *args
system "make install"