svn commit: r303051 - head/usr.bin/mandoc

Bryan Drewery bdrewery at FreeBSD.org
Wed Jul 20 00:06:05 UTC 2016


Author: bdrewery
Date: Wed Jul 20 00:06:03 2016
New Revision: 303051
URL: https://svnweb.freebsd.org/changeset/base/303051

Log:
  Only build makewhatis(1)/apropos(1) with MAN_UTILS.
  
  This is what src.conf(5) documents and is what the older non-mandoc
  versions respected.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/usr.bin/mandoc/Makefile

Modified: head/usr.bin/mandoc/Makefile
==============================================================================
--- head/usr.bin/mandoc/Makefile	Wed Jul 20 00:02:10 2016	(r303050)
+++ head/usr.bin/mandoc/Makefile	Wed Jul 20 00:06:03 2016	(r303051)
@@ -8,7 +8,7 @@ MDOCMLDIR=	${.CURDIR}/../../contrib/mdoc
 PROG=	mandoc
 MAN=	mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 # roff.7
 MLINKS=	mandoc.1 mdocml.1
-.if ${MK_MANDOCDB} != no
+.if ${MK_MANDOCDB} != no && ${MK_MAN_UTILS} != no
 MAN+=	apropos.1 makewhatis.8
 MLINKS+=	apropos.1 whatis.1
 LINKS=	${BINDIR}/mandoc ${BINDIR}/whatis \


More information about the svn-src-all mailing list