Oops, fixed the wrong patch. Pointed out by naddy@

This commit is contained in:
kevlo 2001-10-11 01:22:04 +00:00
parent 7d519c48c1
commit a25490c8eb

View File

@ -1,21 +1,24 @@
$OpenBSD: patch-admin_ltconfig,v 1.3 2001/10/09 01:46:00 kevlo Exp $
--- admin/ltconfig.orig Sat May 19 02:19:10 2001
+++ admin/ltconfig Thu Sep 27 18:55:04 2001
@@ -625,7 +625,12 @@
--- admin/ltconfig.orig Sun Apr 15 02:07:54 2001
+++ admin/ltconfig Thu Oct 11 09:05:16 2001
@@ -620,6 +620,17 @@
old_postinstall_cmds='chmod 644 $oldlib'
old_postuninstall_cmds=
if test -n "$RANLIB"; then
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ case $host_os in
+if test -n "$RANLIB"; then
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds";;
+
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds";;
+ esac
fi
+fi
+
# Source the script associated with the $tagname tag configuration.
@@ -1245,15 +1250,15 @@
if test -n "$tagname"; then
. $ltmain
@@ -1131,15 +1142,15 @@
openbsd*)
version_type=sunos
@ -31,7 +34,7 @@ $OpenBSD: patch-admin_ltconfig,v 1.3 2001/10/09 01:46:00 kevlo Exp $
# OpenBSD 2.7 the overriding is needed for fast-install
shlibpath_overrides_runpath=yes
+ deplibs_check_method=pass_all
+ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib /usr/local/lib/qt2'
+ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib /usr/local//lib/qt2'
;;
os2*)