aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpd.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-23 02:34:38 -0500
committerJack Nagel2014-10-23 02:34:38 -0500
commitd5c4053dae8d679b72cde74dfe47605e0fbf9238 (patch)
treeb16716d36f5aca3f224117449d595ffb5710e56d /Library/Formula/mpd.rb
parent660848ee908a662199a0eed1fae4c2801cb3fa11 (diff)
downloadhomebrew-d5c4053dae8d679b72cde74dfe47605e0fbf9238.tar.bz2
mpd: remove more cruft
Diffstat (limited to 'Library/Formula/mpd.rb')
-rw-r--r--Library/Formula/mpd.rb18
1 files changed, 1 insertions, 17 deletions
diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb
index b8d313c0c..1f67ee795 100644
--- a/Library/Formula/mpd.rb
+++ b/Library/Formula/mpd.rb
@@ -26,12 +26,6 @@ class Mpd < Formula
option "with-yajl", "Build with yajl support (for playing from soundcloud)"
option "with-opus", "Build with opus support (for Opus encoding and decoding)"
- if MacOS.version < :lion
- option "with-libwrap", "Build with libwrap (TCP Wrappers) support"
- elsif MacOS.version == :lion
- option "with-libwrap", "Build with libwrap (TCP Wrappers) support (buggy)"
- end
-
depends_on "pkg-config" => :build
depends_on "boost" => :build
depends_on "glib"
@@ -67,16 +61,6 @@ class Mpd < Formula
# The build is fine with G++.
ENV.libcxx
- if build.include? "lastfm" or build.include? "libwrap" \
- or build.include? "enable-soundcloud"
- opoo "You are using an option that has been replaced."
- opoo "See this formula's caveats for details."
- end
-
- if build.with? "libwrap" and MacOS.version > :lion
- opoo "Ignoring --with-libwrap: TCP Wrappers were removed in OSX 10.8"
- end
-
system "./autogen.sh" if build.head?
args = %W[
@@ -87,6 +71,7 @@ class Mpd < Formula
--enable-ffmpeg
--enable-fluidsynth
--enable-osx
+ --disable-libwrap
]
args << "--disable-mad"
@@ -94,7 +79,6 @@ class Mpd < Formula
args << "--enable-zzip" if build.with? "libzzip"
args << "--enable-lastfm" if build.with? "lastfm"
- args << "--disable-libwrap" if build.without? "libwrap"
args << "--disable-lame-encoder" if build.without? "lame"
args << "--disable-soundcloud" if build.without? "yajl"
args << "--enable-vorbis-encoder" if build.with? "vorbis"