switch groff parameter -man to -mandoc

groff 1.23.0 changed the semantics of the -man parameter, and many
manual pages are not rendered. The -mandoc parameter brings back
the old behavior, as in groff 1.22.4 and earlier.

PR: 273565, 273245

Reviewed by:	emaste, bapt
MFC after: 1 week for all supported branches (stable/12, 13, 14)
Differential Revision:	https://reviews.freebsd.org/D41737
This commit is contained in:
Wolfram Schneider 2023-09-07 06:28:24 +00:00
parent 03a7c36ddb
commit 035f7c9a36

View file

@ -1071,11 +1071,11 @@ do_whatis() {
# User's PATH setting decides on the groff-suite to pick up.
EQN=eqn
NROFF='groff -S -P-h -Wall -mtty-char -man'
NROFF='groff -S -P-h -Wall -mtty-char -mandoc'
PIC=pic
REFER=refer
TBL=tbl
TROFF='groff -S -man'
TROFF='groff -S -mandoc'
VGRIND=vgrind
LOCALE=/usr/bin/locale