diff options
| author | Jin Yi | 2011-02-21 23:57:23 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-02-22 07:46:34 -0800 |
| commit | e00eec9105ef5398543e6b5df4a24730753ce070 (patch) | |
| tree | 856af3ee2d7d88cf9de538b398c0607482a07ea1 /Library/Formula | |
| parent | 8e6f8720bc8a91136085b34e1bdbcc2b71152d91 (diff) | |
| download | homebrew-e00eec9105ef5398543e6b5df4a24730753ce070.tar.bz2 | |
fix pianobar recipe, for non-/usr/local
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pianobar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pianobar.rb b/Library/Formula/pianobar.rb index 5fd30883f..7ad578cdd 100644 --- a/Library/Formula/pianobar.rb +++ b/Library/Formula/pianobar.rb @@ -16,7 +16,7 @@ class Pianobar <Formula def install inreplace "Makefile" do |s| - s.gsub! "CFLAGS:=-std=c99 -O2 -DNDEBUG", "CFLAGS=-std=c99 #{ENV.cflags}" + s.gsub! "CFLAGS:=-std=c99 -O2 -DNDEBUG", "CFLAGS=-std=c99 #{ENV.cflags} #{ENV['CPPFLAGS']} #{ENV['LDFLAGS']}" end system "make", "PREFIX=#{prefix}" system "make", "install", "PREFIX=#{prefix}" |
