openbsd-ports/lang/gcc/3.3/patches/patch-ltconfig
espie f0d1c6a05b synch patches to new snapshot.
tell libtool to fuck off about ldconfig.
2005-02-27 15:42:50 +00:00

31 lines
1.0 KiB
Plaintext

$OpenBSD: patch-ltconfig,v 1.2 2005/02/27 15:42:50 espie Exp $
--- ltconfig.orig Fri Mar 5 22:07:41 2004
+++ ltconfig Sun Feb 27 16:15:47 2005
@@ -625,7 +625,12 @@ 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
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds";;
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds";;
+ esac
fi
# Source the script associated with the $tagname tag configuration.
@@ -1279,8 +1284,11 @@ openbsd*)
need_version=no
fi
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ deplib_check_method=pass_all
+ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib'
;;
os2*)