aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJin Yi2011-02-21 23:57:23 -0800
committerAdam Vandenberg2011-02-22 07:46:34 -0800
commite00eec9105ef5398543e6b5df4a24730753ce070 (patch)
tree856af3ee2d7d88cf9de538b398c0607482a07ea1 /Library/Formula
parent8e6f8720bc8a91136085b34e1bdbcc2b71152d91 (diff)
downloadhomebrew-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.rb2
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}"