diff options
| author | nibbles 2bits | 2012-09-12 22:39:38 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-09-13 06:56:49 -0700 |
| commit | 5f5d75e46cd1341080d2bee6238c029b0740bfa6 (patch) | |
| tree | 5b90b5e40552953e3919d9ac5e49400de7e59eb9 /Library/Formula | |
| parent | 36b174886c56896cbebe47c24c06705cb5b0f902 (diff) | |
| download | homebrew-5f5d75e46cd1341080d2bee6238c029b0740bfa6.tar.bz2 | |
mpd: disable libwarp by default
- Disable libwrap by default.
- Add an option to enable it.
- Fixes a build error where a 10.7 lib was found on 10.8.
Fixes #14787
Closes #14902.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mpd.rb | 2 |
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" |
