diff options
| author | Jack Nagel | 2014-03-13 18:13:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-13 18:13:06 -0500 |
| commit | 41064a0b7a1684b4a7098e302d73d684a8d5a7e5 (patch) | |
| tree | 618d998ffdc7b5ee8c9b9f8dc0337b6949699f26 /Library/Formula | |
| parent | 6a23fecc21882d725d9db17751e7aae6f766a32b (diff) | |
| download | homebrew-41064a0b7a1684b4a7098e302d73d684a8d5a7e5.tar.bz2 | |
mpd: fix HEAD build
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mpd.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb index 4c529acdb..23bdf1cb8 100644 --- a/Library/Formula/mpd.rb +++ b/Library/Formula/mpd.rb @@ -5,7 +5,11 @@ class Mpd < Formula url "http://www.musicpd.org/download/mpd/0.17/mpd-0.17.5.tar.bz2" sha1 "91e4d8d364a3db02e6f92676dd938880e5bb200a" - head "git://git.musicpd.org/master/mpd.git" + head do + url "git://git.musicpd.org/master/mpd.git" + depends_on "autoconf" => :build + depends_on "automake" => :build + end option "with-wavpack", "Build with wavpack support (for .wv files)" option "with-lastfm", "Build with last-fm support (for experimental Last.fm radio)" @@ -45,7 +49,7 @@ class Mpd < Formula # Removes usage of deprecated AVCODEC_MAX_AUDIO_FRAME_SIZE constant # We're many versions behind; this bug has long since been fixed upstream - def patches; DATA; end + def patches; DATA unless build.head?; end def install if build.include? "lastfm" or build.include? "libwrap" \ |
