aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-10-21 15:21:29 +0800
committerkuriyama <kuriyama@FreeBSD.org>2002-10-21 15:21:29 +0800
commit19898cffb230887c84dc681239b7860910695675 (patch)
treeb91321d3b8a27d8d3825360de821af2257471396
parent7eaaebde17a88c414a8b0b7782363dd258127501 (diff)
downloadfreebsd-ports-gnome-19898cffb230887c84dc681239b7860910695675.tar.gz
freebsd-ports-gnome-19898cffb230887c84dc681239b7860910695675.tar.zst
freebsd-ports-gnome-19898cffb230887c84dc681239b7860910695675.zip
Upgrade to 2.6 (with typo fix patch).
-rw-r--r--www/p5-HTML-Template/Makefile3
-rw-r--r--www/p5-HTML-Template/distinfo2
-rw-r--r--www/p5-HTML-Template/files/patch-Template.pm10
3 files changed, 9 insertions, 6 deletions
diff --git a/www/p5-HTML-Template/Makefile b/www/p5-HTML-Template/Makefile
index a06a347970fd..5509f81fc0d8 100644
--- a/www/p5-HTML-Template/Makefile
+++ b/www/p5-HTML-Template/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= HTML-Template
-PORTVERSION= 2.5
-PORTREVISION= 1
+PORTVERSION= 2.6
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= HTML
diff --git a/www/p5-HTML-Template/distinfo b/www/p5-HTML-Template/distinfo
index cad2aeddbf71..1f26b19d1787 100644
--- a/www/p5-HTML-Template/distinfo
+++ b/www/p5-HTML-Template/distinfo
@@ -1 +1 @@
-MD5 (HTML-Template-2.5.tar.gz) = 2f8cb555618b2d1180534455c1e61d51
+MD5 (HTML-Template-2.6.tar.gz) = dbd1c0c23fe323123deb9212c82a6f2d
diff --git a/www/p5-HTML-Template/files/patch-Template.pm b/www/p5-HTML-Template/files/patch-Template.pm
index 4e71f9db1d5b..ba404e4db2af 100644
--- a/www/p5-HTML-Template/files/patch-Template.pm
+++ b/www/p5-HTML-Template/files/patch-Template.pm
@@ -1,5 +1,5 @@
--- Template.pm.orig Sat Feb 2 08:01:37 2002
-+++ Template.pm Tue Mar 12 11:24:20 2002
++++ Template.pm Thu May 30 12:33:34 2002
@@ -863,7 +863,9 @@
use strict; # and no funny business, either.
@@ -10,7 +10,7 @@
# define accessor constants used to improve readability of array
# accesses into "objects". I used to use 'use constant' but that
-@@ -2011,7 +2013,7 @@
+@@ -2011,10 +2013,10 @@
push(@ifstack, $cond);
} elsif ($which eq '/TMPL_IF' or $which eq '/TMPL_UNLESS') {
@@ -18,4 +18,8 @@
+ $options->{debug} and print STDERR "### HTML::Template Debug ### $fname : line $fcounter : $which end\n";
my $cond = pop(@ifstack);
- die "HTML::Template->new() : found </${which}> with no matching <TMPL_IF> at $fname : line $fcounter." unless defined $cond;
+- die "HTML::Template->new() : found </${which}> with no matching <TMPL_IF> at $fname : line $fcounter." unless defined $cond;
++ die "HTML::Template->new() : found <${which}> with no matching <TMPL_IF> at $fname : line $fcounter." unless defined $cond;
+ if ($which eq '/TMPL_IF') {
+ die "HTML::Template->new() : found </TMPL_IF> incorrectly terminating a <TMPL_UNLESS> (use </TMPL_UNLESS>) at $fname : line $fcounter.\n"
+ if ($cond->[HTML::Template::COND::WHICH] == HTML::Template::COND::WHICH_UNLESS);