Properly fix broken man pages by removing unsupported characters.

PR:		234992 (based on)
Reviewed by:	bapt
Reported by:	bapt
This commit is contained in:
Emanuel Haupt 2019-01-16 16:14:06 +00:00
parent 9945a1095c
commit c2cb5922fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490489
2 changed files with 16 additions and 8 deletions

View file

@ -8,7 +8,7 @@ PORTNAME= bash
#PATCHLEVEL= 0
#PORTVERSION= 5.0.${PATCHLEVEL:S/^0//g}
PORTVERSION= 5.0
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES= shells
MASTER_SITES= GNU
#DISTNAME= ${PORTNAME}-${PORTVERSION:R}
@ -87,10 +87,6 @@ post-patch:
-e "s|/\*.*#define SYSLOG_SHOPT .*\*/|#define SYSLOG_SHOPT 1|g" \
${WRKSRC}/config-top.h
.endif
.for f in bash bashbug
@mandoc -T man ${WRKSRC}/doc/${f}.1 > ${WRKSRC}/doc/${f}.1.mandoc
@${MV} ${WRKSRC}/doc/${f}.1.mandoc ${WRKSRC}/doc/${f}.1
.endfor
post-patch-SYSBASHRC-on:
@${REINPLACE_CMD} \

View file

@ -1,6 +1,18 @@
--- doc/bash.1.orig 2016-09-29 22:30:30 UTC
--- doc/bash.1.orig 2019-01-02 14:14:30 UTC
+++ doc/bash.1
@@ -2364,7 +2364,7 @@ The value of this parameter is expanded
@@ -31,9 +31,9 @@
.\" .ll \\n(LLu
.\" .in \\n()Ru+\\n(INu+\\n()Iu
.\" .ti \\n(INu
-.\" .ie !\\n()Iu+\\n()Ru-\w\\*(]Xu-3p \{\\*(]X
+.\" .ie !\\n()Iu+\\n()Ru-\w\\*(]Xu-3p \{\\*(]X
.\" .br\}
-.\" .el \\*(]X\h|\\n()Iu+\\n()Ru\c
+.\" .el \\*(]X\h|\\n()Iu+\\n()Ru\c
.\" .}f
.\" ..
.\"
@@ -2444,7 +2444,7 @@ The value of this parameter is expanded (see
.SM
.B PROMPTING
below) and used as the primary prompt string. The default value is
@ -9,7 +21,7 @@
.TP
.B PS2
The value of this parameter is expanded as with
@@ -10556,7 +10556,7 @@ http://tiswww.case.edu/~chet/bash/POSIX
@@ -10880,7 +10880,7 @@ http://tiswww.case.edu/~chet/bash/POSIX -- a descripti
.SH FILES
.PD 0
.TP