openbsd-ports/security/opencdk/patches/patch-configure
sturm a1f6539518 update to opencdk 0.5.4
from me and maintainer Jim Geovedi
2004-05-08 06:42:59 +00:00

28 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2004/05/08 06:42:59 sturm Exp $
--- configure.orig 2004-04-25 08:52:01.000000000 +0200
+++ configure 2004-04-25 08:54:16.000000000 +0200
@@ -7329,12 +7329,12 @@ if test -z "$aix_libpath"; then aix_libp
else
case $host_os in
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
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
@@ -8003,6 +8003,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].*)