diff --git a/deps/Makefile b/deps/Makefile index 430266fa55d50..a18713ee61e75 100644 --- a/deps/Makefile +++ b/deps/Makefile @@ -1679,6 +1679,43 @@ compile-patchelf: $(PATCHELF_SOURCE) check-patchelf: patchelf-$(PATCHELF_VER)/checked install-patchelf: $(PATCHELF_TARGET) +## Git +# only used for the mac binaries in contrib/mac/app/Makefile + +GIT_SOURCE = git-$(GIT_VER)/src/git +GIT_TARGET = $(build_prefix)/git + +git-$(GIT_VER).tar.gz: + $(JLDOWNLOAD) $@ http://git-core.googlecode.com/files/$@ +git-$(GIT_VER)/configure: git-$(GIT_VER).tar.gz + $(JLCHECKSUM) $< + $(TAR) zxf $< + touch -c $@ +git-$(GIT_VER)/config.status: git-$(GIT_VER)/configure + cd git-$(GIT_VER) && \ + ./configure $(CONFIGURE_COMMON) --bindir="$(build_libexecdir)" + touch -c $@ +$(GIT_SOURCE): git-$(GIT_VER)/config.status + $(MAKE) -C git-$(GIT_VER) + touch -c $@ +git-$(GIT_VER)/checked: $(GIT_SOURCE) + echo 1 > $@ +$(GIT_TARGET): $(GIT_SOURCE) git-$(GIT_VER)/checked + $(MAKE) -C git-$(GIT_VER) install NO_INSTALL_HARDLINKS=1 $(MAKE_COMMON) + touch -c $@ + +clean-git: + -$(MAKE) -C git-$(GIT_VER) clean + -rm -f $(GIT_OBJ_TARGET) +distclean-git: + -rm -rf git-$(GIT_VER).tar.gz git-$(GIT_VER) + +get-git: git-$(GIT_VER).tar.gz +configure-git: git-$(GIT_VER)/config.status +compile-git: $(GIT_SOURCE) +check-git: git-$(GIT_VER)/checked +install-git: $(GIT_TARGET) + ## virtualenv VIRTUALENV_SOURCE = virtualenv-$(VIRTUALENV_VER)/virtualenv.py diff --git a/deps/Versions.make b/deps/Versions.make index c7a56b3deacfc..2c3ba47e58095 100644 --- a/deps/Versions.make +++ b/deps/Versions.make @@ -13,5 +13,6 @@ OSXUNWIND_VER = 0.0.1 GMP_VER=6.0.0 MPFR_VER=3.1.2 PATCHELF_VER = 0.8 +GIT_VER = 1.8.2.3 VIRTUALENV_VER = 1.11.6 LIBGIT2_VER = 0.21.2