patch-libffi_configure 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. $OpenBSD: patch-libffi_configure,v 1.1.1.1 2014/06/26 16:30:17 pascal Exp $
  2. --- libffi/configure.orig Sun Feb 9 23:32:51 2014
  3. +++ libffi/configure Fri Feb 14 20:24:55 2014
  4. @@ -10329,7 +10329,7 @@ openbsd*)
  5. *) need_version=no ;;
  6. esac
  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. @@ -11493,6 +11493,9 @@ case "$host" in
  14. hppa*-*-linux* | parisc*-*-linux* | hppa*-*-openbsd*)
  15. TARGET=PA_LINUX; TARGETDIR=pa
  16. ;;
  17. + hppa-*-openbsd*)
  18. + TARGET=PA_LINUX; TARGETDIR=pa
  19. + ;;
  20. hppa*64-*-hpux*)
  21. TARGET=PA64_HPUX; TARGETDIR=pa
  22. ;;
  23. @@ -11552,6 +11555,9 @@ case "$host" in
  24. ;;
  25. powerpc-*-amigaos*)
  26. TARGET=POWERPC; TARGETDIR=powerpc
  27. + ;;
  28. + powerpc-*-openbsd*)
  29. + TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
  30. ;;
  31. powerpc-*-beos*)
  32. TARGET=POWERPC; TARGETDIR=powerpc