aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAsh Berlin2010-01-07 18:44:49 +0000
committerMax Howell2010-01-13 13:43:59 +0000
commit423c91a6d8dbd9c5c282ade9eab5c2b7743df9df (patch)
tree1574889752e6ffbbe8cfdc639ac6886159533082 /Library/Formula
parent1a3324efc925a3e98db124ba9180f595415f66a8 (diff)
downloadhomebrew-423c91a6d8dbd9c5c282ade9eab5c2b7743df9df.tar.bz2
Unset PERL_MM_OPT env var - local::lib
Fit fails to install otherwise. Fixes #333
Diffstat (limited to 'Library/Formula')
-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"