OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../uclibc/pkg_patch/openldap-uclibc.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- openldap-2.2.20/configure.orig 2005-01-23 00:05:04.000000000 -0800
  18. +++ openldap-2.2.20/configure 2005-01-23 00:07:39.000000000 -0800
  19. @@ -3516,7 +3516,7 @@
  20. ;;
  21. # This must be Linux ELF.
  22. -linux-gnu*)
  23. +linux-gnu*|linux-uclibc*)
  24. case $host_cpu in
  25. alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
  26. lt_cv_deplibs_check_method=pass_all ;;
  27. @@ -6068,6 +6068,29 @@
  28. dynamic_linker='GNU/Linux ld.so'
  29. ;;
  30. +linux-uclibc*)
  31. + version_type=linux
  32. + need_lib_prefix=no
  33. + need_version=no
  34. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  35. + soname_spec='${libname}${release}.so$major'
  36. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  37. + shlibpath_var=LD_LIBRARY_PATH
  38. + shlibpath_overrides_runpath=no
  39. + # This implies no fast_install, which is unacceptable.
  40. + # Some rework will be needed to allow for fast_install
  41. + # before this can be enabled.
  42. + hardcode_into_libs=yes
  43. +
  44. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  45. + # powerpc, because MkLinux only supported shared libraries with the
  46. + # GNU dynamic linker. Since this was broken with cross compilers,
  47. + # most powerpc-linux boxes support dynamic linking these days and
  48. + # people can always --disable-shared, the test was removed, and we
  49. + # assume the GNU/Linux dynamic linker is in use.
  50. + dynamic_linker='uClibc ld.so'
  51. + ;;
  52. +
  53. netbsd*)
  54. version_type=sunos
  55. need_lib_prefix=no