Updated git to 1.7.7.2

This commit is contained in:
Scott McCreary
2011-11-03 23:29:00 +00:00
parent 902c7544f5
commit 2278fe86bb
2 changed files with 58 additions and 0 deletions

View File

@@ -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)"

View File

@@ -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