openbsd-ports/security/gnutls/patches/patch-configure
margarida f00650d562 Initial import of gnutls-0.8.6
--
GnuTLS is a portable ANSI C based library which implements
the TLS 1.0 and SSL 3.0 protocols.

From: Jim Geovedi <jim@corebsd.or.id>
2003-05-02 04:04:31 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2003/05/02 04:04:31 margarida Exp $
--- configure.orig Wed Apr 30 20:52:16 2003
+++ configure Wed Apr 30 20:53:36 2003
@@ -10537,7 +10537,7 @@ else
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
@@ -10547,7 +10547,7 @@ else
;;
*)
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
@@ -11092,6 +11092,8 @@ openbsd*)
version_type=sunos
need_lib_prefix=no
need_version=no
+ sys_lib_search_path_spec="/usr/lib"
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/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].*)