aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/git.rb')
-rw-r--r--Library/Formula/git.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 784f7f057..72f7706a4 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -14,6 +14,8 @@ class Git <Formula
# if these things are installed, tell git build system to not use them
ENV['NO_FINK']='1'
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']='';
system "./configure --prefix=#{prefix}"
system "make install"