openbsd-ports/devel/libtool/patches/patch-configure
espie d1d7c3bab2 - remove non-existent dirs from libsearch path.
- if DESTDIR is defined, avoid relinking (relinking doesn't make sense
with the fake framework anyways).

okay brad@, `as long as it doesn't break anything'.
2005-12-22 11:36:00 +00:00

26 lines
707 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2005/12/22 11:36:00 espie Exp $
--- configure.orig Wed Aug 31 20:54:29 2005
+++ configure Sun Dec 18 15:26:14 2005
@@ -8240,6 +8240,13 @@ if test "$GCC" = yes; then
else
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
fi
+tmp="$sys_lib_search_path_spec"
+sys_lib_search_path_spec=""
+for i in $tmp
+do
+ test -d $i && sys_lib_search_path_spec="$sys_lib_search_path_spec $i"
+done
+
need_lib_prefix=unknown
hardcode_into_libs=no
@@ -8646,6 +8653,7 @@ nto-qnx*)
openbsd*)
version_type=sunos
+ sys_lib_dlsearch_path_spec="/usr/lib"
need_lib_prefix=no
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
case $host_os in