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