Merge from vendor branch TNF:
[pkgsrc.git] / mail / sendmail88 / patches / patch-aa
1 $NetBSD$
2
3 --- cf/cf/Makefile.orig Mon Apr  7 23:39:36 1997
4 +++ cf/cf/Makefile      Sat Feb 12 23:29:03 2000
5 @@ -1,3 +1,5 @@
6 +#      $NetBSD: Makefile,v 1.26 2000/01/24 06:49:29 mycroft Exp $
7 +#
8  #      @(#)Makefile    8.19 (Berkeley) 1/14/97
9  
10  #
11 @@ -11,7 +13,6 @@
12  #
13  
14  M4=    m4
15 -#M4=   /usr/src/usr.bin/m4/obj/m4
16  CFDIR= ..
17  CHMOD= chmod
18  ROMODE=        444
19 @@ -21,24 +22,29 @@
20  
21  .mc.cf:
22         $(RM) $@
23 -       (cd ${.CURDIR} && $(M4) ${CFDIR}/m4/cf.m4 ${@:R}.mc > obj/$@)
24 +       (cd ${.CURDIR} && $(M4) ${@:R}.mc > ${.OBJDIR}/$@)
25         $(CHMOD) $(ROMODE) $@
26  
27 -ALL=   generic-bsd4.4.cf generic-hpux9.cf generic-hpux10.cf \
28 -               generic-osf1.cf generic-solaris2.cf \
29 -               generic-sunos4.1.cf generic-ultrix4.cf \
30 -       cs-hpux9.cf cs-osf1.cf cs-solaris2.cf \
31 -               cs-sunos4.1.cf cs-ultrix4.cf \
32 -       s2k-osf1.cf s2k-ultrix4.cf \
33 -       chez.cs.cf huginn.cs.cf mail.cs.cf mail.eecs.cf mailspool.cs.cf \
34 -               python.cs.cf ucbarpa.cf ucbvax.cf vangogh.cs.cf knecht.cf
35 +ALL= netbsd-proto.cf
36 +
37 +OTHERS= clientproto.cf tcpproto.cf uucpproto.cf
38 +
39 +FILES= clientproto.mc netbsd-proto.mc tcpproto.mc uucpproto.mc Makefile
40  
41 -all: $(ALL)
42 +FILESDIR= ${PREFIX}/share/sendmail/cf
43  
44 -clean cleandir:
45 +realall: $(ALL)
46 +
47 +others: $(OTHERS)
48 +
49 +clean cleandir distclean:
50         $(RM) $(ALL) core
51  
52 -depend install: 
53 +realdepend:
54 +
55 +distribution:
56 +       ${INSTALL} -c -o root -g wheel -m 444 netbsd-proto.cf \
57 +           ${DESTDIR}/etc/sendmail.cf
58  
59  # this is overkill, but....
60  M4FILES=\
61 @@ -78,29 +84,7 @@
62         ${CFDIR}/mailer/smtp.m4 \
63         ${CFDIR}/mailer/usenet.m4 \
64         ${CFDIR}/mailer/uucp.m4 \
65 -       ${CFDIR}/ostype/aix3.m4 \
66 -       ${CFDIR}/ostype/amdahl-uts.m4 \
67 -       ${CFDIR}/ostype/aux.m4 \
68 -       ${CFDIR}/ostype/bsd4.3.m4 \
69         ${CFDIR}/ostype/bsd4.4.m4 \
70 -       ${CFDIR}/ostype/bsdi1.0.m4 \
71 -       ${CFDIR}/ostype/dgux.m4 \
72 -       ${CFDIR}/ostype/domainos.m4 \
73 -       ${CFDIR}/ostype/dynix3.2.m4 \
74 -       ${CFDIR}/ostype/hpux9.m4 \
75 -       ${CFDIR}/ostype/irix4.m4 \
76 -       ${CFDIR}/ostype/irix5.m4 \
77 -       ${CFDIR}/ostype/linux.m4 \
78 -       ${CFDIR}/ostype/nextstep.m4 \
79 -       ${CFDIR}/ostype/osf1.m4 \
80 -       ${CFDIR}/ostype/ptx2.m4 \
81 -       ${CFDIR}/ostype/riscos4.5.m4 \
82 -       ${CFDIR}/ostype/sco3.2.m4 \
83 -       ${CFDIR}/ostype/solaris2.m4 \
84 -       ${CFDIR}/ostype/sunos3.5.m4 \
85 -       ${CFDIR}/ostype/sunos4.1.m4 \
86 -       ${CFDIR}/ostype/svr4.m4 \
87 -       ${CFDIR}/ostype/ultrix4.m4 \
88         ${CFDIR}/siteconfig/uucp.cogsci.m4 \
89         ${CFDIR}/siteconfig/uucp.old.arpa.m4 \
90         ${CFDIR}/siteconfig/uucp.ucbarpa.m4 \
91 @@ -109,3 +93,4 @@
92  $(ALL):  $(M4FILES)
93  
94  .include <bsd.prog.mk>
95 +.include <bsd.files.mk>