pianobar: HEAD now automatically detects libav

Closes Homebrew/homebrew#29871.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
Haden Pike 2014-06-04 13:11:54 -04:00 committed by Misty De Meo
parent a109fca3db
commit 20448c4856

View file

@ -31,10 +31,6 @@ class Pianobar < Formula
"-std=c99 " +
# build if we aren't /usr/local'
"#{ENV.cppflags} #{ENV.ldflags}"
if build.head?
inreplace "Makefile", "#LIBAV:=ffmpeg2.2", "LIBAV:=ffmpeg2.2"
end
system "make", "PREFIX=#{prefix}"
system "make", "install", "PREFIX=#{prefix}"