Follow the makewhatis(8) switch (s/whatis\.db/mandoc\.db/).
ok espie@, naddy said he did the same changes.
This commit is contained in:
parent
2f7dcdba72
commit
b93ecc6587
@ -1,6 +1,6 @@
|
||||
#-*- mode: Makefile; tab-width: 4; -*-
|
||||
# ex:ts=4 sw=4 filetype=make:
|
||||
# $OpenBSD: bsd.port.mk,v 1.1262 2014/04/15 08:52:35 ajacoutot Exp $
|
||||
# $OpenBSD: bsd.port.mk,v 1.1263 2014/04/18 21:14:20 kili Exp $
|
||||
#
|
||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
@ -166,7 +166,7 @@ PACKAGE_REPOSITORY ?= ${PORTSDIR}/packages
|
||||
PORTS_BUILD_XENOCARA_TOO ?= No
|
||||
|
||||
.if ${PORTS_BUILD_XENOCARA_TOO:L} == "no"
|
||||
. if !exists(${X11BASE}/man/whatis.db)
|
||||
. if !exists(${X11BASE}/man/mandoc.db)
|
||||
ERRORS += "Fatal: building ports requires correctly installed X11"
|
||||
. endif
|
||||
.endif
|
||||
@ -2233,7 +2233,7 @@ port-lib-depends-check: ${WRKINST}/.saved_libs
|
||||
_internal-manpages-check: ${_FAKE_COOKIE}
|
||||
@cd ${WRKINST}${TRUEPREFIX}/man && \
|
||||
${SUDO} /usr/libexec/makewhatis -p . && \
|
||||
cat whatis.db
|
||||
cat mandoc.db
|
||||
|
||||
# Most standard port targets create a cookie to avoid being re-run.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user