Merge all changes from trunk

This commit is contained in:
Oliver Tappe
2013-03-29 14:04:07 +00:00
parent 888e133171
commit 94cc6aaf85
1052 changed files with 65053 additions and 2541 deletions

View File

@@ -1,39 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.6.5.3.tar.bz2"
CHECKSUM_MD5="a1dbc3da46cbf33c4367db689853c142"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
BUILD {
cd git-1.6.5.3
libtoolize --force --copy --install
aclocal
autoconf
./configure --prefix=/boot/common --enable-pthreads=""
make prefix=/boot/common NO_R_TO_GCC_LINKER=YesPlease \
NO_C99_FORMAT=YesPlease \
NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease \
NO_MEMMEM=YesPlease NO_MKSTEMPS=YesPlease \
NO_MKDTEMP=YesPlease NO_IPV6=YesPlease \
NO_TCLTK=YesPlease CURLDIR=/boot/common \
PERL_PATH=/boot/common/bin/perl \
CFLAGS="-g -O2 -I/boot/common/include" \
LIBS="" \
LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" \
strip
}
INSTALL {
cd git-1.6.5.3
make install prefix=/boot/common NO_R_TO_GCC_LINKER=YesPlease \
NO_C99_FORMAT=YesPlease NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease \
NO_MEMMEM=YesPlease NO_MKSTEMPS=YesPlease \
NO_MKDTEMP=YesPlease NO_IPV6=YesPlease NO_TCLTK=YesPlease \
CURLDIR=/boot/common PERL_PATH=/boot/common/bin/perl \
CFLAGS="-g -O2 -I/boot/common/include" \
LIBS="" \
LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" \
strip
}
LICENSE="GNU GPL v2"

View File

@@ -1,49 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.0.1.tar.gz"
CHECKSUM_MD5="05485caf5c503ce378a87759bc3a0509"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
BUILD {
cd git-1.7.0.1
# libtoolize --force --copy --install
# aclocal
# autoconf
./configure --prefix=/boot/common --enable-pthreads=""
make prefix=/boot/common \
NO_R_TO_GCC_LINKER=YesPlease \
NO_C99_FORMAT=YesPlease \
NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease \
NO_MEMMEM=YesPlease \
NO_MKSTEMPS=YesPlease \
NO_MKDTEMP=YesPlease \
NO_IPV6=YesPlease \
NO_TCLTK=YesPlease \
CURLDIR=/boot/common \
PERL_PATH=/boot/common/bin/perl \
CFLAGS="-g -O2 -I/boot/common/include" \
LIBS="" \
LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" \
strip
}
INSTALL {
cd git-1.7.0.1
make install prefix=/boot/common \
NO_R_TO_GCC_LINKER=YesPlease \
NO_C99_FORMAT=YesPlease \
NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease \
NO_MEMMEM=YesPlease \
NO_MKSTEMPS=YesPlease \
NO_MKDTEMP=YesPlease \
NO_IPV6=YesPlease \
NO_TCLTK=YesPlease \
CURLDIR=/boot/common \
PERL_PATH=/boot/common/bin/perl \
CFLAGS="-g -O2 -I/boot/common/include" \
LIBS="" \
LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" \
strip
}
LICENSE="GNU GPL v2"

View File

@@ -1,21 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.0.4.tar.bz2"
CHECKSUM_MD5="1cc8b2aea57e5e999ccac18ae355f760"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd git-1.7.0.4
autoconf
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads="-lroot" \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.0.4
make install
}
LICENSE="GNU GPL v2"

View File

@@ -1,21 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.0.5.tar.bz2"
CHECKSUM_MD5="77d50f41ef282752dc69d9a47765f5c7"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd git-1.7.0.5
autoconf
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads="-lroot" \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.0.5
make install
}
LICENSE="GNU GPL v2"

View File

@@ -1,22 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.1.tar.bz2"
CHECKSUM_MD5="3da231dbe82ad103373cb530ae7475d5"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1"
BUILD {
cd git-1.7.1
autoconf
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads="-lroot" \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.1
make install
}
LICENSE="GNU GPL v2"

View File

@@ -0,0 +1,26 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://git-core.googlecode.com/files/git-1.7.10.2.tar.gz"
CHECKSUM_MD5="2e2ee53243ab8e7cf10f15c5229c3fce"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1
dev-vcs/gitdoc == 1.7.10"
BUILD {
cd git-1.7.10.2
make strip
}
INSTALL {
cd git-1.7.10.2
make install
}
TEST {
cd git-1.7.10.2
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"

View File

@@ -0,0 +1,26 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://git-core.googlecode.com/files/git-1.7.11.3.tar.gz"
CHECKSUM_MD5="23caacd9f3f421b6c05b40796df3505d"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1
dev-vcs/gitdoc == 1.7.11.3"
BUILD {
cd git-1.7.11.3
make strip
}
INSTALL {
cd git-1.7.11.3
make install
}
TEST {
cd git-1.7.11.3
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"

View File

@@ -1,22 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.3.1.tar.bz2"
CHECKSUM_MD5="77e1611498919965fb65fd1f229ee155"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1"
BUILD {
cd git-1.7.3.1
autoconf
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads="-lroot" \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.3.1
make install
}
LICENSE="GNU GPL v2"

View File

@@ -1,26 +0,0 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://kernel.org/pub/software/scm/git/git-1.7.3.5.tar.bz2"
CHECKSUM_MD5="8a8cd93b8a4dff0a03c0fdc77253af3e"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1"
BUILD {
cd git-1.7.3.5
autoconf
sed -i 's/lgen/ /' configure
sed -i 's/-lgen/ /' Makefile
CFLAGS="-I/boot/common/include" LDFLAGS="-L/boot/common/lib -L/boot/system/lib -lbsd -lnetwork" \
./configure --prefix=/boot/common --with-editor=nano --enable-pthreads \
--with-perl=/boot/common/bin/perl --with-python=/boot/common/bin/python --without-tcltk
make strip
}
INSTALL {
cd git-1.7.3.5
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2011 Git Authors (see git web site for list)"

26
dev-vcs/git/git-1.8.0.bep Normal file
View File

@@ -0,0 +1,26 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://git-core.googlecode.com/files/git-1.8.0.tar.gz"
CHECKSUM_MD5="12f4d20f34ae37086d86dd3b9d037bba"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1
dev-vcs/gitdoc == 1.8.0"
BUILD {
cd git-1.8.0
make strip
}
INSTALL {
cd git-1.8.0
make install
}
TEST {
cd git-1.8.0
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"

View File

@@ -0,0 +1,26 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://git-scm.com/"
SRC_URI="http://git-core.googlecode.com/files/git-1.8.1.3.tar.gz"
CHECKSUM_MD5="05fb5ea3792a51cef2becc8d06ea9b87"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="net-misc/curl >= 7.20.0
dev-lang/perl >= 5.10.1
dev-vcs/gitdoc == 1.8.0"
BUILD {
cd git-1.8.1.3
make strip
}
INSTALL {
cd git-1.8.1.3
make install
}
TEST {
cd git-1.8.1.3
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2013 Git Authors (see git web site for list)"

View File

@@ -1,54 +0,0 @@
--- git-1.5.5/Makefile 2008-04-08 07:10:01.000000000 +0000
+++ git-1.5.5.patched/Makefile 2008-04-19 00:20:29.000000000 +0000
@@ -989,7 +989,7 @@
'-DGIT_INFO_PATH="$(infodir_SQ)"' $<
$(BUILT_INS): git$X
- $(QUIET_BUILT_IN)$(RM) $@ && ln git$X $@
+ $(QUIET_BUILT_IN)$(RM) $@ && ln -s git$X $@
common-cmds.h: ./generate-cmdlist.sh command-list.txt
@@ -1230,7 +1230,7 @@
cp '$(DESTDIR_SQ)$(bindir_SQ)/git$X' \
'$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X'; \
fi
- $(foreach p,$(BUILT_INS), $(RM) '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;)
+ $(foreach p,$(BUILT_INS), $(RM) '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln -s '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;)
ifneq (,$X)
$(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), $(RM) '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p';)
endif
--- git-1.5.5/git-compat-util.h 2008-04-08 07:10:01.000000000 +0000
+++ git-1.5.5.patched/git-compat-util.h 2008-04-18 22:15:48.000000000 +0000
@@ -453,4 +453,8 @@
# define FORCE_DIR_SET_GID 0
#endif
+#ifndef INET_ADDRSTRLEN
+#define INET_ADDRSTRLEN 16
+#endif
+
#endif
--- git-1.5.5/builtin-count-objects.c 2008-04-08 07:10:01.000000000 +0000
+++ git-1.5.5.patched/builtin-count-objects.c 2008-04-19 00:32:05.000000000 +0000
@@ -43,7 +43,8 @@
if (lstat(path, &st) || !S_ISREG(st.st_mode))
bad = 1;
else
- (*loose_size) += xsize_t(st.st_blocks);
+// (*loose_size) += xsize_t(st.st_blocks);
+ (*loose_size) += ceil(st.st_size / 512.0);
}
if (bad) {
if (verbose) {
--- git-1.5.5/templates/Makefile 2008-04-08 07:10:01.000000000 +0000
+++ git-1.5.5.patched/templates/Makefile 2008-04-19 00:44:46.000000000 +0000
@@ -23,7 +23,7 @@
bpsrc = $(filter-out %~,$(wildcard *--*))
boilerplates.made : $(bpsrc)
- $(QUIET)ls *--* 2>/dev/null | \
+ $(QUIET)ls -1 *--* 2>/dev/null | \
while read boilerplate; \
do \
case "$$boilerplate" in *~) continue ;; esac && \

View File

@@ -1,25 +0,0 @@
diff -up git-1.7.0.4/configure.ac.orig git-1.7.0.4/configure.ac
--- git-1.7.0.4/configure.ac.orig 2010-04-03 18:57:28.303824896 -0600
+++ git-1.7.0.4/configure.ac 2010-04-03 18:59:05.954990592 -0600
@@ -527,17 +527,13 @@ test -n "$NEEDS_SOCKET" && LIBS="$LIBS -
# Define NEEDS_RESOLV if linking with -lnsl and/or -lsocket is not enough.
# Notably on Solaris hstrerror resides in libresolv and on Solaris 7
# inet_ntop and inet_pton additionally reside there.
-AC_CHECK_LIB([c], [hstrerror],
-[NEEDS_RESOLV=],
-[NEEDS_RESOLV=YesPlease])
+AC_SEARCH_LIBS([hstrerror], [resolv],
+[AC_DEFINE([NEEDS_RESOLV], [YesPlease])])
AC_SUBST(NEEDS_RESOLV)
-test -n "$NEEDS_RESOLV" && LIBS="$LIBS -lresolv"
-AC_CHECK_LIB([c], [basename],
-[NEEDS_LIBGEN=],
-[NEEDS_LIBGEN=YesPlease])
+AC_SEARCH_LIBS([basename], [gen],
+[AC_DEFINE([NEEDS_LIBGEN], [YesPlease])])
AC_SUBST(NEEDS_LIBGEN)
-test -n "$NEEDS_LIBGEN" && LIBS="$LIBS -lgen"
## Checks for header files.
AC_MSG_NOTICE([CHECKS for header files])

View File

@@ -1,25 +0,0 @@
diff -up git-1.7.0.5/configure.ac.orig git-1.7.0.4/configure.ac
--- git-1.7.0.5/configure.ac.orig 2010-04-03 18:57:28.303824896 -0600
+++ git-1.7.0.5/configure.ac 2010-04-03 18:59:05.954990592 -0600
@@ -527,17 +527,13 @@ test -n "$NEEDS_SOCKET" && LIBS="$LIBS -
# Define NEEDS_RESOLV if linking with -lnsl and/or -lsocket is not enough.
# Notably on Solaris hstrerror resides in libresolv and on Solaris 7
# inet_ntop and inet_pton additionally reside there.
-AC_CHECK_LIB([c], [hstrerror],
-[NEEDS_RESOLV=],
-[NEEDS_RESOLV=YesPlease])
+AC_SEARCH_LIBS([hstrerror], [resolv],
+[AC_DEFINE([NEEDS_RESOLV], [YesPlease])])
AC_SUBST(NEEDS_RESOLV)
-test -n "$NEEDS_RESOLV" && LIBS="$LIBS -lresolv"
-AC_CHECK_LIB([c], [basename],
-[NEEDS_LIBGEN=],
-[NEEDS_LIBGEN=YesPlease])
+AC_SEARCH_LIBS([basename], [gen],
+[AC_DEFINE([NEEDS_LIBGEN], [YesPlease])])
AC_SUBST(NEEDS_LIBGEN)
-test -n "$NEEDS_LIBGEN" && LIBS="$LIBS -lgen"
## Checks for header files.
AC_MSG_NOTICE([CHECKS for header files])

View File

@@ -1,25 +0,0 @@
diff -up git-1.7.1/configure.ac.orig git-1.7.1/configure.ac
--- git-1.7.1/configure.ac.orig 2010-04-23 20:38:35.035127296 -0600
+++ git-1.7.1/configure.ac 2010-05-13 18:03:30.180355072 -0600
@@ -547,17 +547,13 @@ test -n "$NEEDS_SOCKET" && LIBS="$LIBS -
# Define NEEDS_RESOLV if linking with -lnsl and/or -lsocket is not enough.
# Notably on Solaris hstrerror resides in libresolv and on Solaris 7
# inet_ntop and inet_pton additionally reside there.
-AC_CHECK_LIB([c], [hstrerror],
-[NEEDS_RESOLV=],
-[NEEDS_RESOLV=YesPlease])
+AC_SEARCH_LIBS([hstrerror], [resolv],
+[AC_DEFINE([NEEDS_RESOLV], [YesPlease])])
AC_SUBST(NEEDS_RESOLV)
-test -n "$NEEDS_RESOLV" && LIBS="$LIBS -lresolv"
-AC_CHECK_LIB([c], [basename],
-[NEEDS_LIBGEN=],
-[NEEDS_LIBGEN=YesPlease])
+AC_SEARCH_LIBS([basename], [gen],
+[AC_DEFINE([NEEDS_LIBGEN], [YesPlease])])
AC_SUBST(NEEDS_LIBGEN)
-test -n "$NEEDS_LIBGEN" && LIBS="$LIBS -lgen"
## Checks for header files.
AC_MSG_NOTICE([CHECKS for header files])

View File

@@ -0,0 +1,47 @@
diff -up git-1.7.10.2/Makefile.orig git-1.7.10.2/Makefile
--- git-1.7.10.2/Makefile.orig 2012-05-11 14:25:45.066322432 -0600
+++ git-1.7.10.2/Makefile 2012-05-19 12:53:42.392429568 -0600
@@ -1242,6 +1242,31 @@ ifeq ($(uname_S),Minix)
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
+ htmldir = /boot/common/documentation/doc/git-1.7.10.2
+ 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
+ NO_GETTEXT = YesPlease
+endif
ifneq (,$(findstring MINGW,$(uname_S)))
pathsep = ;
NO_PREAD = YesPlease
diff -up git-1.7.10.2/git-web--browse.sh.orig git-1.7.10.2/git-web--browse.sh
--- git-1.7.10.2/git-web--browse.sh.orig 2012-05-11 14:25:45.053477376 -0600
+++ git-1.7.10.2/git-web--browse.sh 2012-05-19 12:53:42.405536768 -0600
@@ -116,7 +116,7 @@ if test -z "$browser" ; then
browser_candidates="konqueror $browser_candidates"
fi
else
- browser_candidates="w3m elinks links lynx"
+ browser_candidates="w3m elinks links lynx open"
fi
# SECURITYSESSIONID indicates an OS X GUI login session
if test -n "$SECURITYSESSIONID" \

View File

@@ -0,0 +1,47 @@
diff -up git-1.7.11.3/Makefile.orig git-1.7.11.3/Makefile
--- git-1.7.11.3/Makefile.orig 2012-07-22 14:44:07.027525120 -0600
+++ git-1.7.11.3/Makefile 2012-07-28 22:12:40.271056896 -0600
@@ -1297,6 +1297,31 @@ ifeq ($(uname_S),Minix)
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
+ htmldir = /boot/common/documentation/doc/git-1.7.11.3
+ 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
+ NO_GETTEXT = YesPlease
+endif
ifneq (,$(findstring MINGW,$(uname_S)))
pathsep = ;
NO_PREAD = YesPlease
diff -up git-1.7.11.3/git-web--browse.sh.orig git-1.7.11.3/git-web--browse.sh
--- git-1.7.11.3/git-web--browse.sh.orig 2012-07-22 14:44:07.017039360 -0600
+++ git-1.7.11.3/git-web--browse.sh 2012-07-28 22:12:40.283115520 -0600
@@ -116,7 +116,7 @@ if test -z "$browser" ; then
browser_candidates="konqueror $browser_candidates"
fi
else
- browser_candidates="w3m elinks links lynx"
+ browser_candidates="w3m elinks links lynx open"
fi
# SECURITYSESSIONID indicates an OS X GUI login session
if test -n "$SECURITYSESSIONID" \

View File

@@ -0,0 +1,47 @@
diff -up git-1.8.0/Makefile.orig git-1.8.0/Makefile
--- git-1.8.0/Makefile.orig 2012-10-21 15:32:15.034078720 -0600
+++ git-1.8.0/Makefile 2012-11-04 15:47:49.335020032 -0700
@@ -1382,6 +1382,31 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
# RFE 10-120912-4693 submitted to HP NonStop development.
NO_SETITIMER = UnfortunatelyYes
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
+ htmldir = /boot/common/documentation/doc/git-1.8.0
+ 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
+ NO_GETTEXT = YesPlease
+endif
ifneq (,$(findstring MINGW,$(uname_S)))
pathsep = ;
NO_PREAD = YesPlease
diff -up git-1.8.0/git-web--browse.sh.orig git-1.8.0/git-web--browse.sh
--- git-1.8.0/git-web--browse.sh.orig 2012-10-21 15:32:15.028311552 -0600
+++ git-1.8.0/git-web--browse.sh 2012-11-04 15:47:49.345505792 -0700
@@ -116,7 +116,7 @@ if test -z "$browser" ; then
browser_candidates="konqueror $browser_candidates"
fi
else
- browser_candidates="w3m elinks links lynx"
+ browser_candidates="w3m elinks links lynx open"
fi
# SECURITYSESSIONID indicates an OS X GUI login session
if test -n "$SECURITYSESSIONID" \

View File

@@ -0,0 +1,47 @@
diff -up git-1.8.1.3/Makefile.orig git-1.8.0/Makefile
--- git-1.8.1.3/Makefile.orig
+++ git-1.8.1.3/Makefile
@@ -1382,6 +1382,31 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
# RFE 10-120912-4693 submitted to HP NonStop development.
NO_SETITIMER = UnfortunatelyYes
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
+ htmldir = /boot/common/documentation/doc/git-1.8.0
+ 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
+ NO_GETTEXT = YesPlease
+endif
ifneq (,$(findstring MINGW,$(uname_S)))
pathsep = ;
NO_PREAD = YesPlease
diff -up git-1.8.1.3/git-web--browse.sh.orig git-1.8.0/git-web--browse.sh
--- git-1.8.1.3/git-web--browse.sh.orig
+++ git-1.8.1.3/git-web--browse.sh
@@ -116,7 +116,7 @@ if test -z "$browser" ; then
browser_candidates="konqueror $browser_candidates"
fi
else
- browser_candidates="w3m elinks links lynx"
+ browser_candidates="w3m elinks links lynx open"
fi
# SECURITYSESSIONID indicates an OS X GUI login session
if test -n "$SECURITYSESSIONID" \