aboutsummaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2002-04-20 19:00:11 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2002-04-20 19:00:11 +0000
commit5b7a235bb6b775c60876fc09f9f97961ecf788cb (patch)
tree1a43b012371e12749cd65e3086f8e25bbe3e81e0 /etc/Makefile
parentf8b175feba62a87301d688e7c63f1fa9d9e7e6cb (diff)
downloadsrc-5b7a235bb6b775c60876fc09f9f97961ecf788cb.tar.gz
src-5b7a235bb6b775c60876fc09f9f97961ecf788cb.zip
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
Notes
Notes: svn path=/head/; revision=95144
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 8829b7413b67..3a6e8ad858f7 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; \