mirror of the now-defunct rocklinux.org
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.

95 lines
3.1 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/tsa/metamail/00_mm-2.7-make.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- mm2.7/src/Makefile.orig Wed Jan 26 12:32:33 1994
  20. +++ mm2.7/src/Makefile Wed Oct 11 21:44:12 1995
  21. @@ -38,7 +38,7 @@
  22. STATICFLAG=FOOBAR${HOST_ARCH}
  23. -CFLAGS = -g -I. ${$(STATICFLAG)}
  24. +CFLAGS = $(RPM_OPT_FLAGS) -I. -DLINUX ${$(STATICFLAG)}
  25. # The following is better if you want to make sure you run with SYSV defined
  26. # CFLAGS = -g -I. ${$(STATICFLAG)} -DSYSV
  27. # Also, for SGI Irix, compile in K&R mode
  28. @@ -75,7 +75,7 @@
  29. INSTALL = install -c -s
  30. # Root of installation tree
  31. -INSTROOT = /usr/local
  32. +INSTROOT = /usr
  33. #
  34. # This is where binaries should be copied
  35. LOCALBINDIR = ${INSTROOT}/bin
  36. @@ -91,7 +91,7 @@
  37. FONTSUFFIX=pcf
  38. # This is where the mailcap file should be put
  39. -MAILCAPDIR = ${INSTROOT}/etc
  40. +MAILCAPDIR = /etc
  41. # This helps with the "for" constructs below on some platforms:
  42. SHELL=/bin/sh
  43. @@ -145,7 +145,7 @@
  44. echo "installing man page $$target";\
  45. ${CP} $$file $$target; \
  46. done)
  47. - @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old
  48. + @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old"
  49. -mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
  50. @echo "installing file $(MAILCAPDIR)/mailcap"
  51. ${CP} mailcap $(MAILCAPDIR)
  52. --- mm2.7/src/Makefile.don Thu Feb 22 14:12:21 1996
  53. +++ mm2.7/src/Makefile Thu Feb 22 14:12:54 1996
  54. @@ -145,10 +145,6 @@
  55. echo "installing man page $$target";\
  56. ${CP} $$file $$target; \
  57. done)
  58. - @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old"
  59. - -mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
  60. - @echo "installing file $(MAILCAPDIR)/mailcap"
  61. - ${CP} mailcap $(MAILCAPDIR)
  62. uninstall-all:
  63. @(cd bin; \
  64. @@ -172,8 +168,6 @@
  65. echo "rm-ing man page $$target";\
  66. ${RM} $$target; \
  67. done)
  68. - @echo "rm-ing file $(MAILCAPDIR)/mailcap"
  69. - @${RM} $(MAILCAPDIR)/mailcap
  70. clean:
  71. -${RM} -rf *.BAK
  72. --- mm2.7/src/Makefile.don Thu Feb 22 14:19:05 1996
  73. +++ mm2.7/src/Makefile Thu Feb 22 14:19:27 1996
  74. @@ -138,13 +138,6 @@
  75. echo "installing man page $$target";\
  76. ${CP} $$file $$target; \
  77. done)
  78. - @(cd man; \
  79. - for file in *.4; \
  80. - do \
  81. - target=$(MAN4DIR)/`basename $$file .4`.$(MAN4EXT); \
  82. - echo "installing man page $$target";\
  83. - ${CP} $$file $$target; \
  84. - done)
  85. uninstall-all:
  86. @(cd bin; \