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.

98 lines
3.2 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 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- mm2.7/src/Makefile.orig Wed Jan 26 12:32:33 1994
  23. +++ mm2.7/src/Makefile Wed Oct 11 21:44:12 1995
  24. @@ -38,7 +38,7 @@
  25. STATICFLAG=FOOBAR${HOST_ARCH}
  26. -CFLAGS = -g -I. ${$(STATICFLAG)}
  27. +CFLAGS = $(RPM_OPT_FLAGS) -I. -DLINUX ${$(STATICFLAG)}
  28. # The following is better if you want to make sure you run with SYSV defined
  29. # CFLAGS = -g -I. ${$(STATICFLAG)} -DSYSV
  30. # Also, for SGI Irix, compile in K&R mode
  31. @@ -75,7 +75,7 @@
  32. INSTALL = install -c -s
  33. # Root of installation tree
  34. -INSTROOT = /usr/local
  35. +INSTROOT = /usr
  36. #
  37. # This is where binaries should be copied
  38. LOCALBINDIR = ${INSTROOT}/bin
  39. @@ -91,7 +91,7 @@
  40. FONTSUFFIX=pcf
  41. # This is where the mailcap file should be put
  42. -MAILCAPDIR = ${INSTROOT}/etc
  43. +MAILCAPDIR = /etc
  44. # This helps with the "for" constructs below on some platforms:
  45. SHELL=/bin/sh
  46. @@ -145,7 +145,7 @@
  47. echo "installing man page $$target";\
  48. ${CP} $$file $$target; \
  49. done)
  50. - @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old
  51. + @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old"
  52. -mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
  53. @echo "installing file $(MAILCAPDIR)/mailcap"
  54. ${CP} mailcap $(MAILCAPDIR)
  55. --- mm2.7/src/Makefile.don Thu Feb 22 14:12:21 1996
  56. +++ mm2.7/src/Makefile Thu Feb 22 14:12:54 1996
  57. @@ -145,10 +145,6 @@
  58. echo "installing man page $$target";\
  59. ${CP} $$file $$target; \
  60. done)
  61. - @echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old"
  62. - -mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
  63. - @echo "installing file $(MAILCAPDIR)/mailcap"
  64. - ${CP} mailcap $(MAILCAPDIR)
  65. uninstall-all:
  66. @(cd bin; \
  67. @@ -172,8 +168,6 @@
  68. echo "rm-ing man page $$target";\
  69. ${RM} $$target; \
  70. done)
  71. - @echo "rm-ing file $(MAILCAPDIR)/mailcap"
  72. - @${RM} $(MAILCAPDIR)/mailcap
  73. clean:
  74. -${RM} -rf *.BAK
  75. --- mm2.7/src/Makefile.don Thu Feb 22 14:19:05 1996
  76. +++ mm2.7/src/Makefile Thu Feb 22 14:19:27 1996
  77. @@ -138,13 +138,6 @@
  78. echo "installing man page $$target";\
  79. ${CP} $$file $$target; \
  80. done)
  81. - @(cd man; \
  82. - for file in *.4; \
  83. - do \
  84. - target=$(MAN4DIR)/`basename $$file .4`.$(MAN4EXT); \
  85. - echo "installing man page $$target";\
  86. - ${CP} $$file $$target; \
  87. - done)
  88. uninstall-all:
  89. @(cd bin; \