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.

63 lines
2.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../readline/install-no_rm.patch
  5. # Copyright (C) 2006 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. --- ./Makefile.in.orig 2006-11-20 15:37:22.000000000 -0300
  17. +++ ./Makefile.in 2006-11-20 15:38:06.000000000 -0300
  18. @@ -220,10 +220,8 @@
  19. install: $(INSTALL_TARGETS)
  20. install-static: installdirs $(STATIC_LIBS) install-headers install-doc
  21. - -$(MV) $(DESTDIR)$(libdir)/libreadline.a $(DESTDIR)$(libdir)/libreadline.old
  22. $(INSTALL_DATA) libreadline.a $(DESTDIR)$(libdir)/libreadline.a
  23. -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libreadline.a
  24. - -$(MV) $(DESTDIR)$(libdir)/libhistory.a $(DESTDIR)$(libdir)/libhistory.old
  25. $(INSTALL_DATA) libhistory.a $(DESTDIR)$(libdir)/libhistory.a
  26. -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libhistory.a
  27. --- ./support/shlib-install.orig 2006-11-20 15:40:07.000000000 -0300
  28. +++ ./support/shlib-install 2006-11-20 16:04:58.000000000 -0300
  29. @@ -43,16 +43,7 @@
  30. OLDSUFF=old
  31. MV=mv
  32. RM="rm -f"
  33. -LN="ln -s"
  34. -
  35. -# pre-install
  36. -
  37. -if [ -z "$uninstall" ]; then
  38. - ${echo} $RM ${INSTALLDIR}/${LIBNAME}.${OLDSUFF}
  39. - if [ -f "$INSTALLDIR/$LIBNAME" ]; then
  40. - ${echo} $MV $INSTALLDIR/$LIBNAME ${INSTALLDIR}/${LIBNAME}.${OLDSUFF}
  41. - fi
  42. -fi
  43. +LN="ln -sf"
  44. # install/uninstall
  45. @@ -117,13 +108,11 @@
  46. case "$host_os" in
  47. *linux*)
  48. # libname.so.M -> libname.so.M.N
  49. - ${echo} ${RM} ${INSTALLDIR}/$LINK2
  50. if [ -z "$uninstall" ]; then
  51. eval $INSTALL_LINK2
  52. fi
  53. # libname.so -> libname.so.M
  54. - ${echo} ${RM} ${INSTALLDIR}/$LINK1
  55. if [ -z "$uninstall" ]; then
  56. ${echo} cd $INSTALLDIR && ${echo} ${LN} $LINK2 $LINK1
  57. fi