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:
parent
00bee0116e
commit
3a2bef8fbf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549559
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= w3m
|
||||
PORTVERSION= 0.5.3.${SNAPDATE}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES+= www
|
||||
|
||||
MAINTAINER?= nobutaka@FreeBSD.org
|
||||
|
11
www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in
Normal file
11
www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in
Normal 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+)\)$//) {
|
Loading…
Reference in New Issue
Block a user