pianobar - fix for non-/usr/local installs
This commit is contained in:
parent
11f160f4fb
commit
873cb4e4aa
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ class Pianobar <Formula
|
|||
skip_clean :bin
|
||||
|
||||
def install
|
||||
ENV.delete "CFLAGS"
|
||||
inreplace "Makefile" do |s|
|
||||
s.gsub! "CFLAGS:=-std=c99 -O2 -DNDEBUG", "CFLAGS=-std=c99 #{ENV.cflags}"
|
||||
end
|
||||
system "make", "PREFIX=#{prefix}"
|
||||
system "make", "install", "PREFIX=#{prefix}"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue