1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
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
8 # More information can be found in the files COPYING and README.
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
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
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
30 INSTALL = install -c -s
32 # Root of installation tree
33 -INSTROOT = /usr/local
36 # This is where binaries should be copied
37 LOCALBINDIR = ${INSTROOT}/bin
41 # This is where the mailcap file should be put
42 -MAILCAPDIR = ${INSTROOT}/etc
45 # This helps with the "for" constructs below on some platforms:
48 echo "installing man page $$target";\
49 ${CP} $$file $$target; \
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
59 echo "installing man page $$target";\
60 ${CP} $$file $$target; \
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)
70 echo "rm-ing man page $$target";\
73 - @echo "rm-ing file $(MAILCAPDIR)/mailcap"
74 - @${RM} $(MAILCAPDIR)/mailcap
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
81 echo "installing man page $$target";\
82 ${CP} $$file $$target; \
87 - target=$(MAN4DIR)/`basename $$file .4`.$(MAN4EXT); \
88 - echo "installing man page $$target";\
89 - ${CP} $$file $$target; \