diff options
| author | Mike McQuaid | 2013-11-27 08:49:34 +0000 |
|---|---|---|
| committer | BrewTestBot | 2013-11-27 08:53:02 +0000 |
| commit | e0cfaddc63d36f108268caf582c78f2f170d053c (patch) | |
| tree | 51b7884061c5ee564337d4525b5dec1d78c187d7 /Library/Formula | |
| parent | 1040428d229171f86edb5a8e311b018ce7a5d811 (diff) | |
| download | homebrew-e0cfaddc63d36f108268caf582c78f2f170d053c.tar.bz2 | |
git: fix git-svn on 10.9.
Fixes #23587.
Closes #24686.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/git.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index c8bc30115..b6455ec18 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -35,6 +35,17 @@ class Git < Formula sha1 'eb4eb4991464f44deda19d1435d9721146587661' end + def patches + if MacOS.version >= :mavericks + # Allow using PERLLIB_EXTRA to find Subversion Perl bindings location + # in the CLT/Xcode. Should be included in Git 1.8.6. + # https://git.kernel.org/cgit/git/git.git/commit/?h=next&id=07981d + # https://git.kernel.org/cgit/git/git.git/commit/?h=next&id=0386dd + ['https://git.kernel.org/cgit/git/git.git/patch/?id=07981d', + 'https://git.kernel.org/cgit/git/git.git/patch/?id=0386dd'] + end + end + def install # If these things are installed, tell Git build system to not use them ENV['NO_FINK'] = '1' @@ -44,6 +55,10 @@ class Git < Formula ENV['PYTHON_PATH'] = python.binary if python ENV['PERL_PATH'] = which 'perl' + if MacOS.version >= :mavericks and MacOS.dev_tools_prefix + ENV['PERLLIB_EXTRA'] = "#{MacOS.dev_tools_prefix}/Library/Perl/5.16/darwin-thread-multi-2level" + end + unless quiet_system ENV['PERL_PATH'], '-e', 'use ExtUtils::MakeMaker' ENV['NO_PERL_MAKEMAKER'] = '1' end |
