patch-configure 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. $OpenBSD: patch-configure,v 1.1.1.1 2016/09/04 16:20:15 pascal Exp $
  2. --- configure.orig Thu Mar 17 23:54:19 2016
  3. +++ configure Tue Aug 23 15:48:14 2016
  4. @@ -2737,8 +2737,7 @@ host_libs="intl libiberty opcodes bfd readline tcl tk
  5. host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
  6. # libgcj represents the runtime libraries only used by gcj.
  7. -libgcj="target-libffi \
  8. - target-zlib \
  9. +libgcj="target-zlib \
  10. target-libjava"
  11. # these libraries are built for the target environment, and are built after
  12. @@ -2761,6 +2760,7 @@ target_libraries="target-libgcc \
  13. target-libquadmath \
  14. target-libgfortran \
  15. target-boehm-gc \
  16. + target-libffi \
  17. ${libgcj} \
  18. target-libobjc \
  19. target-libada \
  20. @@ -3150,7 +3150,7 @@ fi
  21. # Save it here so that, even in case of --enable-libgcj, if the Java
  22. # front-end isn't enabled, we still get libgcj disabled.
  23. -libgcj_saved=$libgcj
  24. +libgcj_saved="target-libffi ${libgcj}"
  25. case $enable_libgcj in
  26. yes)
  27. # If we reset it here, it won't get added to noconfigdirs in the
  28. @@ -3161,7 +3161,7 @@ yes)
  29. no)
  30. # Make sure we get it printed in the list of not supported target libs.
  31. # Don't disable libffi, though, other languages use it.
  32. - noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
  33. + noconfigdirs="$noconfigdirs ${libgcj}"
  34. # Clear libgcj_saved so that even if java is enabled libffi won't be
  35. # built.
  36. libgcj_saved=
  37. @@ -3439,6 +3439,8 @@ case "${target}" in
  38. powerpc-*-freebsd*)
  39. ;;
  40. powerpc64-*-freebsd*)
  41. + ;;
  42. + powerpc-*-openbsd*)
  43. ;;
  44. powerpc*-*-rtems*)
  45. ;;