aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2010-03-09 11:40:02 +0000
committerMax Howell2010-03-09 11:41:08 +0000
commite4c3a076acdc9841e3e26aa1248332ede1e3c0ce (patch)
tree4d4d409187fe018c4d7631fdc3203ae895a2fe1b /Library/Formula
parent685dbff9301c215ac6f7ca775bbe8eed2bf62662 (diff)
downloadhomebrew-e4c3a076acdc9841e3e26aa1248332ede1e3c0ce.tar.bz2
Use our CFLAGS; Fixes #917
This probably occurred when we stopped using the configure script (which is the recommended route now I note).
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/git.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 401cde5e5..8f8043319 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -16,6 +16,12 @@ class Git < Formula
ENV['NO_DARWIN_PORTS']='1'
# If local::lib is used you get a 'Only one of PREFIX or INSTALL_BASE can be given' error
ENV['PERL_MM_OPT']='';
+ # build verbosely so we can debug better
+ ENV['V'] = '1'
+
+ inreplace "Makefile" do |s|
+ s.remove_make_var! %w{CFLAGS LDFLAGS}
+ end
system "make", "prefix=#{prefix}", "install"