patch-libffi_configure 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. $OpenBSD: patch-libffi_configure,v 1.3 2013/01/16 19:28:48 pascal Exp $
  2. --- libffi/configure.orig Thu Mar 1 07:03:46 2012
  3. +++ libffi/configure Thu Apr 5 05:42:11 2012
  4. @@ -10188,7 +10188,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. @@ -11339,6 +11339,9 @@ case "$host" in
  14. hppa*-*-linux* | parisc*-*-linux*)
  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. @@ -11409,6 +11412,9 @@ case "$host" in
  24. ;;
  25. powerpc64-*-freebsd*)
  26. TARGET=POWERPC; TARGETDIR=powerpc
  27. + ;;
  28. + powerpc-*-openbsd*)
  29. + TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
  30. ;;
  31. powerpc*-*-rtems*)
  32. TARGET=POWERPC; TARGETDIR=powerpc