aboutsummaryrefslogtreecommitdiffstats
path: root/mail/youbin/files/patch-aa
blob: 1fa3155d77c0952181cc473e2a08e9be0175ef20 (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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
*** Imakefile.orig	Sat Apr  8 20:47:18 1995
--- Imakefile	Fri Nov  3 00:51:09 2000
***************
*** 17,31 ****
   */
  
  /* Directory for server. */
! SERVER_BINDIR = /etc
  
  /* Directory for clients. */
! BINDIR = /usr/local/bin
  
  /* Select one of them.
!  * If you want to use on-line manual written in Japanese, use DOCDIR_JP. */
! MANSRC_DIR = $(DOCDIR)
! /* MANSRC_DIR = $(DOCDIR_JP) */
  
  /* 
   * Architectur depedent configurations.
--- 17,32 ----
   */
  
  /* Directory for server. */
! SERVER_BINDIR = ${PREFIX}/sbin
  
  /* Directory for clients. */
! BINDIR = ${PREFIX}/bin
  
  /* Select one of them.
!  * If you want to use on-line manual written in Japanese, use YOUBIN_DOCDIR_JP. */
! MANSRC_DIR = $(YOUBIN_DOCDIR)
! /* MANSRC_DIR = $(YOUBIN_DOCDIR_JP) */
! MANPATH = ${PREFIX}/man
  
  /* 
   * Architectur depedent configurations.
***************
*** 47,53 ****
   * If your machine is SVR4, default MAIL_SPOOL is "/usr/mail/".
   * In other environments, default MAIL_SPOOL is "/usr/spool/mail/".
   * Select one of them, if you don't like these default values. */
! /* MAIL_SPOOL = -DMAIL_SPOOL=\"/usr/mail/\" */
  /* MAIL_SPOOL = -DMAIL_SPOOL=\"/usr/spool/mail/\" */
  
  /* Syslog: Comment following lines, if you don't want to use syslog. */
--- 48,54 ----
   * If your machine is SVR4, default MAIL_SPOOL is "/usr/mail/".
   * In other environments, default MAIL_SPOOL is "/usr/spool/mail/".
   * Select one of them, if you don't like these default values. */
! MAIL_SPOOL = -DMAIL_SPOOL=\"/var/mail/\"
  /* MAIL_SPOOL = -DMAIL_SPOOL=\"/usr/spool/mail/\" */
  
  /* Syslog: Comment following lines, if you don't want to use syslog. */
***************
*** 65,73 ****
  UNIT_TIME = 180
  
  /* XPM: Uncomment following lines, if you want to use pixmap. */
! /* XPM_DEFS = -DUSE_XPM */
! /* XPM_LIBS = str_to_pixmap.o locate_pixmap.o */
! /* XPM_FLAGS = -lXpm */
  
  /* 
   * Other configurations.
--- 66,74 ----
  UNIT_TIME = 180
  
  /* XPM: Uncomment following lines, if you want to use pixmap. */
! XPM_DEFS = -DUSE_XPM
! XPM_LIBS = str_to_pixmap.o locate_pixmap.o
! XPM_FLAGS = -lXpm
  
  /* 
   * Other configurations.
***************
*** 90,96 ****
   * USE_VARARGS      Use UNIX's native routines.
   */
  
! /* SPECIAL_DEFS = */
  /* SPECIAL_LIBS = */
  
  /* 
--- 91,97 ----
   * USE_VARARGS      Use UNIX's native routines.
   */
  
! SPECIAL_DEFS =-DUSE_STDARG -DUSE_POSIX_WAIT
  /* SPECIAL_LIBS = */
  
  /* 
***************
*** 112,124 ****
  XYOUBIN_OBJS = base.o sound.o xyoubin.o $(XPM_LIBS)
  YOUBIN_OBJS = base.o client.o youbin_sub.o
  
! DOCDIR = Doc
! DOCDIR_JP = Doc.Japanese
  
! MANS = $(DOCDIR)/youbin.man $(DOCDIR)/youbind.man \
!         $(DOCDIR)/youbin_sub.man 
! MANS_JP = $(DOCDIR_JP)/youbin.man $(DOCDIR_JP)/youbind.man \
!         $(DOCDIR_JP)/youbin_sub.man 
  
  /* BITMAPS = */
  
--- 113,125 ----
  XYOUBIN_OBJS = base.o sound.o xyoubin.o $(XPM_LIBS)
  YOUBIN_OBJS = base.o client.o youbin_sub.o
  
! YOUBIN_DOCDIR = Doc
! YOUBIN_DOCDIR_JP = Doc.Japanese
  
! MANS = $(YOUBIN_DOCDIR)/youbin.man $(YOUBIN_DOCDIR)/youbind.man \
!         $(YOUBIN_DOCDIR)/youbin_sub.man 
! MANS_JP = $(YOUBIN_DOCDIR_JP)/youbin.man $(YOUBIN_DOCDIR_JP)/youbind.man \
!         $(YOUBIN_DOCDIR_JP)/youbin_sub.man 
  
  /* BITMAPS = */
  
***************
*** 151,157 ****
   * Target entries.
   */
  
! all: $(TARGETS)
  
  SingleProgramTarget(youbind,$(YOUBIND_OBJS),,)
  SingleProgramTarget(sendto,$(SENDTO_OBJS),,)
--- 152,158 ----
   * Target entries.
   */
  
! all:: $(TARGETS)
  
  SingleProgramTarget(youbind,$(YOUBIND_OBJS),,)
  SingleProgramTarget(sendto,$(SENDTO_OBJS),,)
***************
*** 166,177 ****
  
  /* InstallAppDefaults(XYoubin) */
  
! install.man::
! 	csh -c "cp $(MANSRC_DIR)/*.man ."
! 
! InstallManPage(youbin,$(MANDIR))
! InstallManPage(youbin_sub,$(MANDIR))
! InstallManPage(youbind,$(MANDIR))
  
  DependTarget()
  LintTarget()
--- 167,175 ----
  
  /* InstallAppDefaults(XYoubin) */
  
! InstallGenManPage(youbin,$(MANPATH)/man1,1)
! InstallGenManPage(youbin_sub,$(MANPATH)/man3,3)
! InstallGenManPage(youbind,$(MANPATH)/man8,8)
  
  DependTarget()
  LintTarget()