svn commit: r284369 - head/targets/pseudo/userland

Simon J. Gerraty sjg at FreeBSD.org
Sun Jun 14 03:29:25 UTC 2015


Author: sjg
Date: Sun Jun 14 03:29:24 2015
New Revision: 284369
URL: https://svnweb.freebsd.org/changeset/base/284369

Log:
  We cannot build makewhatis and mandoc

Modified:
  head/targets/pseudo/userland/Makefile.depend

Modified: head/targets/pseudo/userland/Makefile.depend
==============================================================================
--- head/targets/pseudo/userland/Makefile.depend	Sun Jun 14 03:28:48 2015	(r284368)
+++ head/targets/pseudo/userland/Makefile.depend	Sun Jun 14 03:29:24 2015	(r284369)
@@ -2,9 +2,17 @@
 
 # This file is not autogenerated - take care!
 
+.if !defined(MK_MANDOCDB)
+.include <src.opts.mk>
+.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 <dirdeps.mk>


More information about the svn-src-all mailing list