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.

50 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../readline/fix-install.patch.disabled
  5. # Copyright (C) 2016 - 2020 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./support/shlib-install.orig 2016-05-09 15:43:49.716808655 +0300
  17. +++ ./support/shlib-install 2016-05-09 15:48:01.368808655 +0300
  18. @@ -44,7 +44,7 @@
  19. OLDSUFF=old
  20. MV=mv
  21. RM="rm -f"
  22. -LN="ln -s"
  23. +LN="ln -sf"
  24. # pre-install
  25. @@ -73,7 +73,7 @@
  26. case "$host_os" in
  27. hpux*|darwin*|macosx*|linux*|solaris2*)
  28. if [ -z "$uninstall" ]; then
  29. - chmod 555 ${INSTALLDIR}/${LIBNAME}
  30. + chmod 644 ${INSTALLDIR}/${LIBNAME}
  31. fi ;;
  32. cygwin*|mingw*)
  33. IMPLIBNAME=`echo ${LIBNAME} \
  34. @@ -120,13 +120,11 @@
  35. case "$host_os-$host_vendor" in
  36. *linux*|freebsd*-gentoo)
  37. # libname.so.M -> libname.so.M.N
  38. - ${echo} ${RM} ${INSTALLDIR}/$LINK2
  39. if [ -z "$uninstall" ]; then
  40. eval $INSTALL_LINK2
  41. fi
  42. # libname.so -> libname.so.M
  43. - ${echo} ${RM} ${INSTALLDIR}/$LINK1
  44. if [ -z "$uninstall" ]; then
  45. ${echo} cd $INSTALLDIR && ${echo} ${LN} $LINK2 $LINK1
  46. fi