From 00cd3d6df0068af113e5f2c4e59d3f15c52b3017 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 4 May 2011 19:05:57 +0000 Subject: [PATCH] Update the second best vcs to version 1.7.5 --- dev-vcs/git/git-1.7.5.bep | 20 ++++++++++++ dev-vcs/git/patches/git-1.7.5.patch | 49 +++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 dev-vcs/git/git-1.7.5.bep create mode 100644 dev-vcs/git/patches/git-1.7.5.patch diff --git a/dev-vcs/git/git-1.7.5.bep b/dev-vcs/git/git-1.7.5.bep new file mode 100644 index 000000000..24453b233 --- /dev/null +++ b/dev-vcs/git/git-1.7.5.bep @@ -0,0 +1,20 @@ +DESCRIPTION="git a fast version control system" +HOMEPAGE="http://git-scm.com/" +SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.5.tar.bz2" +CHECKSUM_MD5="7f0bc26a6e87d251c9b09fa05a186ed3" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="net-misc/curl >= 7.20.0 + dev-lang/perl >= 5.10.1" +BUILD { + cd git-1.7.5 + make strip +} + +INSTALL { + cd git-1.7.5 + make install +} + +LICENSE="GNU GPL v2" +COPYRIGHT="2005-2011 Git Authors (see git web site for list)" diff --git a/dev-vcs/git/patches/git-1.7.5.patch b/dev-vcs/git/patches/git-1.7.5.patch new file mode 100644 index 000000000..6b34ca2d8 --- /dev/null +++ b/dev-vcs/git/patches/git-1.7.5.patch @@ -0,0 +1,49 @@ +diff -up git-1.7.5/Makefile.orig git-1.7.5/Makefile +--- git-1.7.5/Makefile.orig 2011-04-24 11:48:31.011010048 -0600 ++++ git-1.7.5/Makefile 2011-05-04 12:59:17.404750336 -0600 +@@ -1135,6 +1135,24 @@ ifeq ($(uname_S),Interix) + NO_INET_PTON = YesPlease + endif + endif ++ifeq ($(uname_S),Haiku) ++ NO_LIBGEN_H = YesPlease ++ NO_MEMMEM = YesPlease ++ NO_MKSTEMPS = YesPlease ++ NEEDS_LIBICONV = YesPlease ++ NO_IPV6 = YesPlease ++ PERL_PATH = perl ++ PYTHON_PATH = python ++ TCL_PATH = tclsh ++ DEFAULT_EDITOR = nano ++ CURL_DIR = /boot/common ++ EXPAT_DIR = /boot/common ++ BASIC_CFLAGS += -I/boot/common/include ++ BASIC_LDFLAGS += -lnetwork -lbsd -L/boot/common/lib ++ PTHREAD_LIBS = ++ prefix = /boot/common ++ NO_CROSS_DIRECTORY_HARDLINKS = YesPlease ++endif + ifneq (,$(findstring MINGW,$(uname_S))) + pathsep = ; + NO_PREAD = YesPlease +diff -up git-1.7.5/git-gui/Makefile.orig git-1.7.5/git-gui/Makefile +--- git-1.7.5/git-gui/Makefile.orig 2011-04-24 11:48:31.041156608 -0600 ++++ git-1.7.5/git-gui/Makefile 2011-05-04 12:59:17.412876800 -0600 +@@ -57,7 +57,7 @@ INSTALL_X1 = + INSTALL_A0 = find # space is required here + INSTALL_A1 = | cpio -pud + INSTALL_L0 = rm -f # space is required here +-INSTALL_L1 = && ln # space is required here ++INSTALL_L1 = && ln -s # space is required here + INSTALL_L2 = + INSTALL_L3 = + +@@ -87,7 +87,7 @@ ifndef V + INSTALL_L0 = dst= + INSTALL_L1 = && src= + INSTALL_L2 = && dst= +- INSTALL_L3 = && echo ' ' 'LINK ' `basename "$$dst"` '->' `basename "$$src"` && rm -f "$$dst" && ln "$$src" "$$dst" ++ INSTALL_L3 = && echo ' ' 'LINK ' `basename "$$dst"` '->' `basename "$$src"` && rm -f "$$dst" && ln -s "$$src" "$$dst" + + CLEAN_DST = echo ' ' UNINSTALL + REMOVE_D0 = dir=