summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2003-07-06 19:23:31 +0000
committergshapiro <gshapiro@FreeBSD.org>2003-07-06 19:23:31 +0000
commit6a495f3edeb19fcb98d4b87bbbfad05dac45a645 (patch)
tree005aa6d09f381ba277792f1bacbbbc63b3665db6 /etc
parent60f4a2b5009f6283c25fa7018df26ef994e304a8 (diff)
downloadFreeBSD-src-6a495f3edeb19fcb98d4b87bbbfad05dac45a645.zip
FreeBSD-src-6a495f3edeb19fcb98d4b87bbbfad05dac45a645.tar.gz
Do not install sendmail example/infrastructure files if NO_SENDMAIL is
defined. The only two files installed in this case are aliases (which I believe other MTAs may use) and mailer.conf (which isn't sendmail, it belongs to mailwrapper). PR: 50477 MFC after: 5 days
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 0d324b3..7533890 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -45,8 +45,12 @@ NAMEDB= PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root \
PPPCNF= ppp.conf
+.if defined(NO_SENDMAIL)
+ETCMAIL=mailer.conf aliases
+.else
ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
mailertable.sample aliases
+.endif
# Special top level files for FreeBSD
FREEBSD=COPYRIGHT
OpenPOWER on IntegriCloud