summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/make.conf1
-rw-r--r--share/examples/etc/make.conf1
-rw-r--r--usr.sbin/Makefile5
3 files changed, 6 insertions, 1 deletions
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf
index 0ce6862..843e5eb 100644
--- a/etc/defaults/make.conf
+++ b/etc/defaults/make.conf
@@ -38,6 +38,7 @@
# To avoid building various parts of the base system:
#NO_CVS= true # do not build CVS
#NO_FORTRAN= true # do not build g77 and related libraries
+#NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector
#NO_OBJC= true # do not build Objective C support
#NO_OPENSSH= true # do not build OpenSSH
#NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH)
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 0ce6862..843e5eb 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -38,6 +38,7 @@
# To avoid building various parts of the base system:
#NO_CVS= true # do not build CVS
#NO_FORTRAN= true # do not build g77 and related libraries
+#NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector
#NO_OBJC= true # do not build Objective C support
#NO_OPENSSH= true # do not build OpenSSH
#NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH)
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index f2a1e55..0ae95fb3 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -42,7 +42,6 @@ SUBDIR= IPXrouted \
kernbb \
keyserv \
lpr \
- mailwrapper \
manctl \
memcontrol \
mergemaster \
@@ -129,6 +128,10 @@ SUBDIR+=named \
nsupdate
.endif
+.if !defined(NO_MAILWRAPPER)
+SUBDIR+=mailwrapper
+.endif
+
.if !defined(NO_SENDMAIL)
SUBDIR+=mailstats \
makemap \
OpenPOWER on IntegriCloud