diff options
-rw-r--r-- | www/w3m/Makefile | 3 | ||||
-rw-r--r-- | www/w3m/files/patch-scripts_w3mhelp.cgi.in | 11 | ||||
-rw-r--r-- | www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in | 11 |
3 files changed, 23 insertions, 2 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile index 519af24bd771..7dcd3e481b77 100644 --- a/www/w3m/Makefile +++ b/www/w3m/Makefile @@ -3,7 +3,7 @@ PORTNAME= w3m PORTVERSION= 0.5.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES+= www ipv6 MASTER_SITES= SF/w3m/w3m/w3m-${PORTVERSION} @@ -22,7 +22,6 @@ CONFIGURE_ARGS= --with-gc=${LOCALBASE} \ ac_cv_path_PERL=${PERL} CONFIGURE_ENV= DEFS="-I${LOCALBASE}/include" - DOCS= FAQ.html HISTORY MANUAL.html README \ README.dict README.func README.img README.m17n STORY.html \ keymap.default keymap.lynx menu.default menu.submenu diff --git a/www/w3m/files/patch-scripts_w3mhelp.cgi.in b/www/w3m/files/patch-scripts_w3mhelp.cgi.in new file mode 100644 index 000000000000..d9cc5d713c56 --- /dev/null +++ b/www/w3m/files/patch-scripts_w3mhelp.cgi.in @@ -0,0 +1,11 @@ +--- scripts/w3mhelp.cgi.in.orig 2016-11-20 23:37:09.729134000 +0900 ++++ scripts/w3mhelp.cgi.in 2016-11-20 23:37:31.174087000 +0900 +@@ -48,7 +48,7 @@ + } + # print "tlang=$tlang\n"; + eval {require "w3mhelp-funcdesc.$tlang.pl";}; +- if (defined(%funcdesc)) { ++ if (%funcdesc) { + $lang = $tlang; + } + } 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..1ef4f6717c76 --- /dev/null +++ b/www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in @@ -0,0 +1,11 @@ +--- scripts/w3mman/w3mman2html.cgi.in.orig 2016-11-20 23:34:49.225369000 +0900 ++++ scripts/w3mman/w3mman2html.cgi.in 2016-11-20 23:35:23.649914000 +0900 +@@ -220,7 +220,7 @@ + local($p); + + (! -d && -x) || return 0; +- if (! defined(%PATH)) { ++ if (! %PATH) { + for $p (split(":", $ENV{'PATH'})) { + $p =~ s@/+$@@; + $PATH{$p} = 1; |