Skip to content
Browse files

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)
  • Loading branch information...
1 parent 819dbfe commit 733c348ff3f536b89b2147621a7fd3d9ed16640e @dag-erling dag-erling committed Sep 22, 2013
Showing with 9 additions and 2 deletions.
  1. +9 −2 tools/build/mk/OptionalObsoleteFiles.inc
View
11 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

0 comments on commit 733c348

Please sign in to comment.
Something went wrong with that request. Please try again.