From ec83f0800a55b0f548d5617b1d43e1cde63c0d08 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Sun, 14 Jun 2015 03:29:24 +0000 Subject: [PATCH] We cannot build makewhatis and mandoc --- targets/pseudo/userland/Makefile.depend | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/targets/pseudo/userland/Makefile.depend b/targets/pseudo/userland/Makefile.depend index a2b5f445a47..c1e06624fc3 100644 --- a/targets/pseudo/userland/Makefile.depend +++ b/targets/pseudo/userland/Makefile.depend @@ -2,9 +2,17 @@ # This file is not autogenerated - take care! +.if !defined(MK_MANDOCDB) +.include +.endif + DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} -DIRDEPS = \ +DIRDEPS= +.if ${MK_MANDOCDB} == "no" +DIRDEPS+= usr.bin/makewhatis +.endif +DIRDEPS+= \ bin/cat \ bin/chflags \ bin/chio \ @@ -271,7 +279,6 @@ DIRDEPS = \ usr.bin/lzmainfo \ usr.bin/m4 \ usr.bin/mail \ - usr.bin/makewhatis \ usr.bin/man \ usr.bin/mandoc \ usr.bin/mesg \ @@ -777,4 +784,5 @@ DIRDEPS.powerpc= \ DIRDEPS+= ${DIRDEPS.${MACHINE}:U} + .include