openbsd-ports/security/gnutls/patches/patch-configure
robert 224b85f035 SECURITY:
update gnutls to 1.0.25; regen patches while i am here
http://www.vuxml.org/openbsd/086072e4-c180-11d9-aaa3-00065bd5b0b6.html

ok Jim Geovedi (maintainer)
2005-05-11 11:16:07 +00:00

31 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure,v 1.3 2005/05/11 11:16:07 robert Exp $
--- configure.orig Wed Apr 27 23:30:22 2005
+++ configure Tue May 10 20:07:37 2005
@@ -13207,7 +13207,7 @@ if test -z "$aix_libpath"; then aix_libp
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
export_dynamic_flag_spec='${wl}-E'
else
case $host_os in
@@ -13217,7 +13217,7 @@ if test -z "$aix_libpath"; then aix_libp
;;
*)
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
;;
esac
fi
@@ -13898,6 +13898,8 @@ openbsd*)
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/lib"
+ sys_lib_dlsearch_path_spec="/usr/lib $PREFIX/lib"
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
case $host_os in
openbsd2.[89] | openbsd2.[89].*)