mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Relocate the vcs tools to match changes in portage
This commit is contained in:
25
dev-vcs/git/patches/git-1.7.0.5.patch
Normal file
25
dev-vcs/git/patches/git-1.7.0.5.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
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])
|
||||
Reference in New Issue
Block a user