1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Remove "-l" option of man command that FreeBSD's one does not have.

PR:		249305
Submitted by:	Dustin Boyd <memreflect@pm.me>
This commit is contained in:
MANTANI Nobutaka 2020-09-22 05:48:20 +00:00
parent 00bee0116e
commit 3a2bef8fbf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549559
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= w3m
PORTVERSION= 0.5.3.${SNAPDATE}
PORTREVISION= 1
CATEGORIES+= www
MAINTAINER?= nobutaka@FreeBSD.org

View File

@ -0,0 +1,11 @@
--- scripts/w3mman/w3mman2html.cgi.in.orig 2020-05-07 12:51:46 UTC
+++ scripts/w3mman/w3mman2html.cgi.in
@@ -81,7 +81,7 @@ if ($query{"local"}) {
if (! ($file =~ /^\//)) {
$file = $query{"pwd"} . '/' . $file;
}
- open(F, "MAN_KEEP_FORMATTING=1 $MAN -l $file 2> /dev/null |");
+ open(F, "MAN_KEEP_FORMATTING=1 $MAN $file 2> /dev/null |");
} else {
$man = $query{"man"};
if ($man =~ s/\((\w+)\)$//) {