aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>2023-09-07 06:28:24 +0000
committerGlen Barber <gjb@FreeBSD.org>2023-10-12 22:51:51 +0000
commit21bcb2c2a13ea9555d7f84f45be02fcb364475df (patch)
tree35becf745e2e866d18f2e7b10f042d1c7389b84f
parentfc2149590f73205b641714bcaeb562a25d9332e4 (diff)
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 Approved by: re (delphij) (cherry picked from commit 035f7c9a3653d91564a5513f1311aa3b6e14a17e) (cherry picked from commit 7f9f152307652d1cb454acb8b9018f29672b452f)
-rwxr-xr-xusr.bin/man/man.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh
index dd327cc5d1d8..b18895a91d96 100755
--- a/usr.bin/man/man.sh
+++ b/usr.bin/man/man.sh
@@ -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