summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-09-22 20:32:28 +0000
committerdes <des@FreeBSD.org>2013-09-22 20:32:28 +0000
commit733c348ff3f536b89b2147621a7fd3d9ed16640e (patch)
treea3efa00d843d1b01696a834aad7518aadac1d642 /tools/build
parent819dbfe373eeb8d0c4961fa136119525067ba024 (diff)
downloadFreeBSD-src-733c348ff3f536b89b2147621a7fd3d9ed16640e.zip
FreeBSD-src-733c348ff3f536b89b2147621a7fd3d9ed16640e.tar.gz
Remove drill(1) if MK_LDNS_UTILS is false.
Remove host(1) if both MK_BIND and MK_LDNS_UTILS are false. Approved by: re (blanket)
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 09a39ac..8ca6975 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -214,7 +214,6 @@ OLD_FILES+=usr/share/man/man8/authpf-noip.8.gz
.if ${MK_BIND} == no
OLD_FILES+=etc/periodic/daily/470.status-named
OLD_FILES+=usr/bin/dig
-OLD_FILES+=usr/bin/host
OLD_FILES+=usr/bin/nslookup
OLD_FILES+=usr/bin/nsupdate
OLD_FILES+=usr/include/lwres/context.h
@@ -270,7 +269,6 @@ OLD_FILES+=usr/share/doc/bind9/COPYRIGHT
OLD_FILES+=usr/share/doc/bind9/FAQ
OLD_FILES+=usr/share/doc/bind9/README
OLD_FILES+=usr/share/man/man1/dig.1.gz
-OLD_FILES+=usr/share/man/man1/host.1.gz
OLD_FILES+=usr/share/man/man1/nslookup.1.gz
OLD_FILES+=usr/share/man/man3/lwres.3.gz
OLD_FILES+=usr/share/man/man3/lwres_buffer.3.gz
@@ -3402,6 +3400,15 @@ OLD_FILES+=usr/lib32/private/libldns_p.a
.endif
.endif
+.if ${MK_LDNS_UTILS} == no
+OLD_FILES+=usr/bin/drill
+OLD_FILES+=usr/share/man/man1/drill.1.gz
+.if ${MK_BIND} == no
+OLD_FILES+=usr/bin/host
+OLD_FILES+=usr/share/man/man1/host.1.gz
+.endif
+.endif
+
#.if ${MK_LIB32} == no
# to be filled in
#.endif
OpenPOWER on IntegriCloud