aboutsummaryrefslogtreecommitdiff
path: root/mail/xmail/files/patch-aa
blob: fd65a954a33a0be647730b28d6a620c7c56c43ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
--- Imakefile.orig	Mon Jan 30 22:41:47 1995
+++ Imakefile	Wed Oct 15 09:52:37 2003
@@ -1,63 +1,62 @@
-/* */#
-/* */# @(#)Imakefile - for xmail version 1 patchlevel 5
-/* */#
-/* */# Uncomment USE_DIRENT if readdir() uses <dirent.h> instead of <sys/dir.h>
-/* */#
+#
+# @(#)Imakefile - for xmail version 1 patchlevel 5
+#
+# Uncomment USE_DIRENT if readdir() uses <dirent.h> instead of <sys/dir.h>
+#
      USE_DIRENT = -DUSE_DIRENT
-/* */#
-/* */# Uncomment X_FACE and COMPFACE if you have the compface library installed
-/* */# and you want xmail to automatically display the X-Face: header, if found
-/* */# in a message.
-/* */#
+#
+# Uncomment X_FACE and COMPFACE if you have the compface library installed
+# and you want xmail to automatically display the X-Face: header, if found
+# in a message.
+#
 #ifdef USE_X_FACE
           X_FACE = -DX_FACE
         COMPFACE = -L./compface -lcompface
 #endif
-/* */#
-/* */# Uncomment XPM if you have the Xpm version 3 library and want color icons
-/* */#
+#
+# Uncomment XPM if you have the Xpm version 3 library and want color icons
+#
             XPM = -DXPM
          LIBXPM = -lXpm
-/* */#
-/* */# Uncomment LPT if you require att environment support for pseudo ports.
-/* */#
-/* */#            LPT = -lpt
-/* */#
-/* */# Uncomment REGEXP if your system supplies the regexp.h include file.
-/* */# Otherwise, xmail will use the regex procedures re_comp and re_exec.
-/* */#
-/* */#   REGEXP = -DUSE_REGEXP
-/* */#
-/* */# Define MAILBOX_DIRECTORY if your mail spool is located in other than the
-/* */# default /usr/spool/mail.  (If not specified, the default will be used.)
-/* */#
-/* */#    MAILBOX_DIR = -DMAILBOX_DIRECTORY=\"/usr/spool/mail\"
-/* */#
-/* */# Define DEFAULT_VISUAL if your copy of vi lies in some place other than
-/* */# /usr/ucb.  (If not specified, /usr/ucb/vi will be the default editor.)
-/* */#
+#
+# Uncomment LPT if you require att environment support for pseudo ports.
+#
+#            LPT = -lpt
+#
+# Uncomment REGEXP if your system supplies the regexp.h include file.
+# Otherwise, xmail will use the regex procedures re_comp and re_exec.
+#
+#   REGEXP = -DUSE_REGEXP
+#
+# Define MAILBOX_DIRECTORY if your mail spool is located in other than the
+# default /usr/spool/mail.  (If not specified, the default will be used.)
+#
+    MAILBOX_DIR = -DMAILBOX_DIRECTORY=\"/var/mail\"
+#
+# Define DEFAULT_VISUAL if your copy of vi lies in some place other than
+# /usr/ucb.  (If not specified, /usr/ucb/vi will be the default editor.)
+#
            DEF_VISUAL = -DDEFAULT_VISUAL=\"/usr/bin/vi\"
-/* */#
-/* */# Define DEFAULT_MAILER if your mail program is not the standard
-/* */# /usr/ucb/Mail.  CAUTION - Operation is NOT guaranteed with other mailers.
+#
+# Define DEFAULT_MAILER if your mail program is not the standard
+# /usr/ucb/Mail.  CAUTION - Operation is NOT guaranteed with other mailers.
 	
-/* */# DEF_MAILER = -DDEFAULT_MAILER=\"/usr/ucb/Mail\"
+    DEF_MAILER = -DDEFAULT_MAILER=\"/usr/bin/Mail\"
 
-/* */#
-/* */# Define SIGACTION if your system utilizes the sigaction() call rather
-/* */# than the sigvec() call (true on most SYSV and POSIX compilant systems)
-/* */# You may also need to add the following BSD define (true on SGI systems)
-/* */#
-/* */#         SIGDEF = -D_BSD_SIGNALS
-/* */#
+#
+# Define SIGACTION if your system utilizes the sigaction() call rather
+# than the sigvec() call (true on most SYSV and POSIX compilant systems)
+# You may also need to add the following BSD define (true on SGI systems)
+#
+#         SIGDEF = -D_BSD_SIGNALS
+#
                SIGACT = -DSIGACTION
-/* */#
 
   XMAIL_DEFINES = $(MAILBOX_DIR) $(DEF_VISUAL) $(DEF_MAILER) $(SIGACT) $(SIGDEF)
         DEFINES = $(USE_DIRENT) $(X_FACE) $(XPM) $(REGEXP) $(XMAIL_DEFINES)
 
         DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
-LOCAL_LIBRARIES = $(LIBXPM) $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) $(COMPFACE) $(LPT)
+LOCAL_LIBRARIES = $(LIBXPM) $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) $(COMPFACE) $(LPT) -lcompat
 
            SRCS = Mailwatch.c HelpText.c actions.c callMail.c callbacks.c \
 		  confirm.c directory.c environs.c handler.c mail.c parser.c \