aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2020-09-22 05:48:20 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2020-09-22 05:48:20 +0000
commit3a2bef8fbf5adc85a946ee079345fe251b8e4667 (patch)
treecf83f2361dae565f1ac0565164ffa3bc8c596199 /www
parent00bee0116e852425e3a7b330ccddbc968b3e660d (diff)
downloadports-3a2bef8fbf5adc85a946ee079345fe251b8e4667.tar.gz
ports-3a2bef8fbf5adc85a946ee079345fe251b8e4667.zip
Remove "-l" option of man command that FreeBSD's one does not have.
PR: 249305 Submitted by: Dustin Boyd <memreflect@pm.me>
Notes
Notes: svn path=/head/; revision=549559
Diffstat (limited to 'www')
-rw-r--r--www/w3m/Makefile1
-rw-r--r--www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in11
2 files changed, 12 insertions, 0 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index 45113deccbe2..9b989c00927c 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -3,6 +3,7 @@
PORTNAME= w3m
PORTVERSION= 0.5.3.${SNAPDATE}
+PORTREVISION= 1
CATEGORIES+= www
MAINTAINER?= nobutaka@FreeBSD.org
diff --git a/www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in b/www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in
new file mode 100644
index 000000000000..7e9e19e2be53
--- /dev/null
+++ b/www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in
@@ -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+)\)$//) {