openbsd-ports/databases/evolution-data-server/patches/patch-libdb_dist_configure
2004-12-11 06:03:08 +00:00

22 lines
1005 B
Plaintext

$OpenBSD: patch-libdb_dist_configure,v 1.2 2004/12/11 06:03:08 marcm Exp $
--- libdb/dist/configure.orig Mon Oct 11 12:04:13 2004
+++ libdb/dist/configure Wed Oct 13 21:17:46 2004
@@ -7756,7 +7756,7 @@ _ACEOF
hardcode_direct=yes
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 $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
@@ -7766,7 +7766,7 @@ _ACEOF
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac