mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Update mercurial to 1.5.3, git to 1.7.1
Fix sdl-sound bep file to download correctly.
This commit is contained in:
21
dev-util/git/git-1.7.1.bep
Normal file
21
dev-util/git/git-1.7.1.bep
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
}
|
||||
25
dev-util/git/patches/git-1.7.1.patch
Normal file
25
dev-util/git/patches/git-1.7.1.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
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])
|
||||
Reference in New Issue
Block a user