From c392a88ad032a07395a2a8de633c30660dbe48aa Mon Sep 17 00:00:00 2001 From: gshapiro Date: Sun, 11 Nov 2001 05:26:59 +0000 Subject: Fix NO_SENDMAIL knob. When FreeBSD's old BSD version of vacation was replaced with the new version in sendmail's distribution, vacation and the necessary libraries (libsmdb and libsmutil) were changed so they were always compiled. This broke people who didn't checkout src/contrib/sendmail/. I don't know if it's best to think of NO_SENDMAIL as no sendmail sources available or no sendmail binary. It is now the former. Also, remove the sendmail chapter from System Managers Manual (SMM) if NO_SENDMAIL is defined (for similar reasons -- source not available). PR: 31863, 31865 Submitted by: matusita, Joe Kelsey MFC after: 3 days --- share/doc/smm/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'share/doc') diff --git a/share/doc/smm/Makefile b/share/doc/smm/Makefile index 58e708a..7f6334d 100644 --- a/share/doc/smm/Makefile +++ b/share/doc/smm/Makefile @@ -12,7 +12,11 @@ # 07.lpd SUBDIR= title contents 01.setup 02.config 03.fsck 04.quotas 05.fastfs \ - 06.nfs 08.sendmailop 10.named 11.timedop \ + 06.nfs 10.named 11.timedop \ 12.timed 18.net +.if !defined(NO_SENDMAIL) +SUBDIR+=08.sendmailop +.endif + .include -- cgit v1.1