diff --git a/dev-vcs/git/git-1.7.7.2.bep b/dev-vcs/git/git-1.7.7.2.bep new file mode 100644 index 000000000..3d9992ab9 --- /dev/null +++ b/dev-vcs/git/git-1.7.7.2.bep @@ -0,0 +1,25 @@ +DESCRIPTION="git a fast version control system" +HOMEPAGE="http://git-scm.com/" +SRC_URI="http://git-core.googlecode.com/files/git-1.7.7.2.tar.gz" +CHECKSUM_MD5="400d85fd17bdb7f8923dbf3b3a2ca671" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="net-misc/curl >= 7.20.0 + dev-lang/perl >= 5.10.1" +BUILD { + cd git-1.7.7.2 + make strip +} + +INSTALL { + cd git-1.7.7.2 + make install +} + +TEST { + cd git-1.7.7.2 + make check +} + +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.7.2.patch b/dev-vcs/git/patches/git-1.7.7.2.patch new file mode 100644 index 000000000..af8ef83ea --- /dev/null +++ b/dev-vcs/git/patches/git-1.7.7.2.patch @@ -0,0 +1,33 @@ +diff -urN git-1.7.7.2/Makefile git-1.7.7.2-haiku/Makefile +--- git-1.7.7.2/Makefile 2011-11-02 01:06:28.053739520 +0000 ++++ git-1.7.7.2-haiku/Makefile 2011-11-03 15:27:49.000000000 +0000 +@@ -1176,6 +1176,29 @@ + NO_CURL = + NO_EXPAT = + endif ++ifeq ($(uname_S),Haiku) ++ NO_LIBGEN_H = YesPlease ++ NO_MEMMEM = YesPlease ++ NO_MKSTEMPS = YesPlease ++ NEEDS_LIBICONV = YesPlease ++ PERL_PATH = perl ++ PYTHON_PATH = python ++# TCL_PATH = tclsh ++ mandir = /boot/common/documentation/man ++ infodir = /boot/common/documentation/info ++ gitexecdir = /boot/common/bin/git-core ++ gitwebdir = /boot/common/data/gitweb ++ template_dir = /boot/common/data/git-core/templates ++ NO_TCLTK = YesPlease ++ 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