Date: Thu, 24 Nov 2016 13:52:31 +0000 (UTC) From: MANTANI Nobutaka <nobutaka@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427011 - in head/www/w3m: . files Message-ID: <201611241352.uAODqVS6057635@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nobutaka Date: Thu Nov 24 13:52:31 2016 New Revision: 427011 URL: https://svnweb.freebsd.org/changeset/ports/427011 Log: Fix error of w3mhelp.cgi and w3mman2html.cgi with perl 5.24. Reported by: tom Added: head/www/w3m/files/patch-scripts_w3mhelp.cgi.in (contents, props changed) head/www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in (contents, props changed) Modified: head/www/w3m/Makefile Modified: head/www/w3m/Makefile ============================================================================== --- head/www/w3m/Makefile Thu Nov 24 13:10:32 2016 (r427010) +++ head/www/w3m/Makefile Thu Nov 24 13:52:31 2016 (r427011) @@ -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 Added: head/www/w3m/files/patch-scripts_w3mhelp.cgi.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/w3m/files/patch-scripts_w3mhelp.cgi.in Thu Nov 24 13:52:31 2016 (r427011) @@ -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; + } + } Added: head/www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/w3m/files/patch-scripts_w3mman_w3mman2html.cgi.in Thu Nov 24 13:52:31 2016 (r427011) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611241352.uAODqVS6057635>