summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-02-10 00:01:35 +0000
committerdelphij <delphij@FreeBSD.org>2010-02-10 00:01:35 +0000
commitf4340253d5528006188e856b5e1780bcbae8ec5c (patch)
tree1270b0c8799880a3ae3d4bbf5f987da78e41075d /tools
parentefffc45c735166ffa1717576e4807cba15304cad (diff)
downloadFreeBSD-src-f4340253d5528006188e856b5e1780bcbae8ec5c.zip
FreeBSD-src-f4340253d5528006188e856b5e1780bcbae8ec5c.tar.gz
Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER
and MK_SENDMAIL is "no". Reported by: Rob Farmer <rfarmer at predatorlabs.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 9966ddb..2912bbf 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1559,7 +1559,9 @@ OLD_FILES+=usr/share/misc/mail.tildehelp
.if ${MK_MAILWRAPPER} == no
OLD_FILES+=etc/mail/mailer.conf
+.if ${MK_SENDMAIL} == no
OLD_FILES+=usr/sbin/mailwrapper
+.endif
OLD_FILES+=usr/share/man/man8/mailwrapper.8.gz
.endif
OpenPOWER on IntegriCloud