diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2002-04-20 19:00:11 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2002-04-20 19:00:11 +0000 |
commit | 5e1dc7a023b928360790e59174e4ce94c8f3b60e (patch) | |
tree | 1a43b012371e12749cd65e3086f8e25bbe3e81e0 /etc/Makefile | |
parent | c5bca421d9f59f412886b51e99d578df72fa1269 (diff) | |
download | FreeBSD-src-5e1dc7a023b928360790e59174e4ce94c8f3b60e.zip FreeBSD-src-5e1dc7a023b928360790e59174e4ce94c8f3b60e.tar.gz |
In my continuing crusade to make life better for non-sendmail users, avoid
the creation of /var/spool/clientmqueue and therefore the need for the
smmsp user and group if NO_SENDMAIL is defined. This required breaking out
the creation of the directory into a new BSD.sendmail.dist mtree file.
MFC after: 1 week
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile index 8829b74..3a6e8ad 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -42,6 +42,9 @@ BIN2= netstart pccard_ether rc.suspend rc.resume MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \ BSD.var.dist BSD.x11.dist BSD.x11-4.dist +.if !defined(NO_SENDMAIL) +MTREE+= BSD.sendmail.dist +.endif NAMEDB= PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root \ make-localhost PPPCNF= ppp.conf @@ -180,6 +183,9 @@ distrib-dirs: -p ${DESTDIR}/usr/include mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \ -p ${DESTDIR}/usr/libdata/perl/5.6.1/mach +.if !defined(NO_SENDMAIL) + mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.sendmail.dist -p ${DESTDIR}/ +.endif cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys cd ${DESTDIR}/usr/share/man/en.ISO8859-1; ln -sf ../man* . cd ${DESTDIR}/usr/share/man; \ |