From 583b5f3561ba67bb192e8a2ef3c432e1a624d874 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Tue, 23 May 2017 15:46:21 +0000 Subject: [PATCH] Honor WITHOUT_TFTP for check-old* and delete-old* targets. Submitted by: philippe dot michel7 at sfr dot fr PR: 217949 MFC after: 3 days Sponsored by: The FreeBSD Foundation --- tools/build/mk/OptionalObsoleteFiles.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index cb8ad1cfe77f..8b999a434f84 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -8653,6 +8653,13 @@ OLD_FILES+=usr/share/man/man1/colcrt.1.gz OLD_FILES+=usr/share/man/man1/ul.1.gz .endif +.if ${MK_TFTP} == no +OLD_FILES+=usr/bin/tftp +OLD_FILES+=usr/libexec/tftpd +OLD_FILES+=usr/share/man/man1/tftp.1.gz +OLD_FILES+=usr/share/man/man8/tftpd.8.gz +.endif + .if ${MK_TIMED} == no OLD_FILES+=usr/sbin/timed OLD_FILES+=usr/sbin/timedc