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.

93 lines
2.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../metamail/00_mm-2.7-make.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  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. --- mm2.7/src/Makefile.orig Wed Jan 26 12:32:33 1994
  18. +++ mm2.7/src/Makefile Wed Oct 11 21:44:12 1995
  19. @@ -38,7 +38,7 @@
  20. STATICFLAG=FOOBAR${HOST_ARCH}
  21. -CFLAGS = -g -I. ${$(STATICFLAG)}
  22. +CFLAGS = $(RPM_OPT_FLAGS) -I. -DLINUX ${$(STATICFLAG)}
  23. # The following is better if you want to make sure you run with SYSV defined
  24. # CFLAGS = -g -I. ${$(STATICFLAG)} -DSYSV
  25. # Also, for SGI Irix, compile in K&R mode
  26. @@ -75,7 +75,7 @@
  27. INSTALL = install -c -s
  28. # Root of installation tree
  29. -INSTROOT = /usr/local
  30. +INSTROOT = /usr
  31. #
  32. # This is where binaries should be copied
  33. LOCALBINDIR = ${INSTROOT}/bin
  34. @@ -91,7 +91,7 @@
  35. FONTSUFFIX=pcf
  36. # This is where the mailcap file should be put
  37. -MAILCAPDIR = ${INSTROOT}/etc
  38. +MAILCAPDIR = /etc
  39. # This helps with the "for" constructs below on some platforms:
  40. SHELL=/bin/sh
  41. @@ -145,7 +145,7 @@
  42. echo "installing man page $$target";\
  43. ${CP} $$file $$target; \
  44. done)
  45. - @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old
  46. + @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old"
  47. -mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
  48. @echo "installing file $(MAILCAPDIR)/mailcap"
  49. ${CP} mailcap $(MAILCAPDIR)
  50. --- mm2.7/src/Makefile.don Thu Feb 22 14:12:21 1996
  51. +++ mm2.7/src/Makefile Thu Feb 22 14:12:54 1996
  52. @@ -145,10 +145,6 @@
  53. echo "installing man page $$target";\
  54. ${CP} $$file $$target; \
  55. done)
  56. - @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old"
  57. - -mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
  58. - @echo "installing file $(MAILCAPDIR)/mailcap"
  59. - ${CP} mailcap $(MAILCAPDIR)
  60. uninstall-all:
  61. @(cd bin; \
  62. @@ -172,8 +168,6 @@
  63. echo "rm-ing man page $$target";\
  64. ${RM} $$target; \
  65. done)
  66. - @echo "rm-ing file $(MAILCAPDIR)/mailcap"
  67. - @${RM} $(MAILCAPDIR)/mailcap
  68. clean:
  69. -${RM} -rf *.BAK
  70. --- mm2.7/src/Makefile.don Thu Feb 22 14:19:05 1996
  71. +++ mm2.7/src/Makefile Thu Feb 22 14:19:27 1996
  72. @@ -138,13 +138,6 @@
  73. echo "installing man page $$target";\
  74. ${CP} $$file $$target; \
  75. done)
  76. - @(cd man; \
  77. - for file in *.4; \
  78. - do \
  79. - target=$(MAN4DIR)/`basename $$file .4`.$(MAN4EXT); \
  80. - echo "installing man page $$target";\
  81. - ${CP} $$file $$target; \
  82. - done)
  83. uninstall-all:
  84. @(cd bin; \