diff options
| author | Denis Denisov | 2014-08-16 18:15:15 +0300 |
|---|---|---|
| committer | Jack Nagel | 2014-08-17 14:26:42 -0500 |
| commit | 5bed6f7de48d9540806c86d64a79b40aa85139a6 (patch) | |
| tree | b793b56024e214f4b774c2cf3f2cb86ec8b81e1b /Library/Formula/git.rb | |
| parent | e49d7d2f7da21b17da8f1cc22d07ea6bad57efb6 (diff) | |
| download | homebrew-5bed6f7de48d9540806c86d64a79b40aa85139a6.tar.bz2 | |
git 2.1.0, fix bug git-subtree Makefile
Closes #31638.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/git.rb')
| -rw-r--r-- | Library/Formula/git.rb | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index cf9f7eb80..33036883a 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -2,8 +2,8 @@ require 'formula' class Git < Formula homepage "http://git-scm.com" - url "https://www.kernel.org/pub/software/scm/git/git-2.0.4.tar.gz" - sha1 "626f317fa1ceba416a7a83e0d5c177cdbd2a54aa" + url "https://www.kernel.org/pub/software/scm/git/git-2.1.0.tar.gz" + sha1 "e22564e152e3242bc4fcfcc7eb05fde7a4c83e04" head "https://github.com/git/git.git", :shallow => false @@ -14,13 +14,13 @@ class Git < Formula end resource "man" do - url "https://www.kernel.org/pub/software/scm/git/git-manpages-2.0.4.tar.gz" - sha1 "a0fc316a08f55216ff5c83cb5b31cb9ed7d5b258" + url "https://www.kernel.org/pub/software/scm/git/git-manpages-2.1.0.tar.gz" + sha1 "044bd50fa51f436a6e93bf7ba2361b60b1f56e45" end resource "html" do - url "https://www.kernel.org/pub/software/scm/git/git-htmldocs-2.0.4.tar.gz" - sha1 "25f5d2614cf4bc6cb031cc627be0e06aeff66f50" + url "https://www.kernel.org/pub/software/scm/git/git-htmldocs-2.1.0.tar.gz" + sha1 "5eb777145a2f084b601b025eb427c2f079fad0e6" end option 'with-blk-sha1', 'Compile with the block-optimized SHA1 implementation' @@ -37,6 +37,10 @@ class Git < Formula depends_on 'go' => :build if build.with? 'persistent-https' depends_on 'subversion' => 'perl' if build.with? 'brewed-svn' + # This patch fixes Makefile bug contrib/subtree + # http://thread.gmane.org/gmane.comp.version-control.git/255347 + patch :DATA + def install # If these things are installed, tell Git build system to not use them ENV['NO_FINK'] = '1' @@ -146,3 +150,22 @@ class Git < Formula end end end + +__END__ +--- a/contrib/subtree/Makefile ++++ b/contrib/subtree/Makefile +@@ -1,3 +1,5 @@ ++all:: ++ + -include ../../config.mak.autogen + -include ../../config.mak + +@@ -34,7 +36,7 @@ GIT_SUBTREE_XML := git-subtree.xml + GIT_SUBTREE_TXT := git-subtree.txt + GIT_SUBTREE_HTML := git-subtree.html + +-all: $(GIT_SUBTREE) ++all:: $(GIT_SUBTREE) + + $(GIT_SUBTREE): $(GIT_SUBTREE_SH) + sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' $< >$@ |
