patch-libjava_configure 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. $OpenBSD: patch-libjava_configure,v 1.3 2013/06/07 07:54:24 pascal Exp $
  2. --- libjava/configure.orig Fri Apr 12 11:58:00 2013
  3. +++ libjava/configure Sat Apr 13 16:20:33 2013
  4. @@ -6369,7 +6369,7 @@ openbsd*)
  5. need_lib_prefix=no
  6. need_version=no
  7. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9. + #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10. shlibpath_var=LD_LIBRARY_PATH
  11. if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  12. case $host_os in
  13. @@ -12753,7 +12753,7 @@ openbsd*)
  14. *) need_version=no ;;
  15. esac
  16. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  17. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  18. + #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  19. shlibpath_var=LD_LIBRARY_PATH
  20. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  21. case $host_os in
  22. @@ -16436,7 +16436,7 @@ openbsd*)
  23. *) need_version=no ;;
  24. esac
  25. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  26. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  27. + #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  28. shlibpath_var=LD_LIBRARY_PATH
  29. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  30. case $host_os in
  31. @@ -20722,7 +20722,7 @@ case "$THREADS" in
  32. # support for weak references to pthread_* functions ala gthr.h API.
  33. THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
  34. ;;
  35. - *-*-freebsd*)
  36. + *-*-freebsd* | *-*-openbsd*)
  37. # FreeBSD >=5.3 implements a model much closer to other modern UNIX
  38. # systems which support threads and -lpthread.
  39. THREADLDFLAGS=-pthread