$OpenBSD: patch-libjava_libltdl_configure,v 1.2 2014/05/25 21:45:39 pascal Exp $
--- libjava/libltdl/configure.orig	Thu May 22 11:13:48 2014
+++ libjava/libltdl/configure	Thu May 22 20:04:22 2014
@@ -6897,9 +6897,6 @@ cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e
       with_gnu_ld=no
     fi
     ;;
-  openbsd*)
-    with_gnu_ld=no
-    ;;
   esac
 
   ld_shlibs=yes
@@ -8189,7 +8186,7 @@ openbsd*)
   need_lib_prefix=no
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+  #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     case $host_os in
