aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-Class-DBI-AsForm
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2004-08-08 19:23:33 +0000
committerLars Thegler <lth@FreeBSD.org>2004-08-08 19:23:33 +0000
commitcd823528f44be1e69698d365b935f422dd564057 (patch)
tree1d5e3ee2f558928060b317d9dbed090686ba7439 /databases/p5-Class-DBI-AsForm
parent75236c0e70fbf723f4238602428a528496cc2763 (diff)
downloadports-cd823528f44be1e69698d365b935f422dd564057.tar.gz
ports-cd823528f44be1e69698d365b935f422dd564057.zip
Notes
Diffstat (limited to 'databases/p5-Class-DBI-AsForm')
-rw-r--r--databases/p5-Class-DBI-AsForm/Makefile5
-rw-r--r--databases/p5-Class-DBI-AsForm/distinfo4
-rw-r--r--databases/p5-Class-DBI-AsForm/files/500503-AsForm.pm8
3 files changed, 7 insertions, 10 deletions
diff --git a/databases/p5-Class-DBI-AsForm/Makefile b/databases/p5-Class-DBI-AsForm/Makefile
index 9fc099e7917f..18e2915aa75f 100644
--- a/databases/p5-Class-DBI-AsForm/Makefile
+++ b/databases/p5-Class-DBI-AsForm/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= Class-DBI-AsForm
-PORTVERSION= 2.2
+PORTVERSION= 2.3
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
@@ -27,9 +27,6 @@ MAN3= Class::DBI::AsForm.3
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES= ${PATCHDIR}/500503-AsForm.pm
-
-post-configure:
- ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
.endif
.include <bsd.port.post.mk>
diff --git a/databases/p5-Class-DBI-AsForm/distinfo b/databases/p5-Class-DBI-AsForm/distinfo
index ee83807e5bbe..3c71dbba03f7 100644
--- a/databases/p5-Class-DBI-AsForm/distinfo
+++ b/databases/p5-Class-DBI-AsForm/distinfo
@@ -1,2 +1,2 @@
-MD5 (Class-DBI-AsForm-2.2.tar.gz) = 09a3824bfbf260f2b12583828dce5068
-SIZE (Class-DBI-AsForm-2.2.tar.gz) = 3558
+MD5 (Class-DBI-AsForm-2.3.tar.gz) = 158e2f3eb51f10bedbf36e5199802f9a
+SIZE (Class-DBI-AsForm-2.3.tar.gz) = 3825
diff --git a/databases/p5-Class-DBI-AsForm/files/500503-AsForm.pm b/databases/p5-Class-DBI-AsForm/files/500503-AsForm.pm
index e2841c0a0723..e60c14f5cfba 100644
--- a/databases/p5-Class-DBI-AsForm/files/500503-AsForm.pm
+++ b/databases/p5-Class-DBI-AsForm/files/500503-AsForm.pm
@@ -16,8 +16,8 @@
+use vars qw(@ISA);@ISA = qw(Exporter);
+use vars qw(@EXPORT);@EXPORT = qw( to_cgi to_field _to_textarea _to_textfield _to_select
type_of );
--our $VERSION = '2.2';
-+use vars qw($VERSION);$VERSION = '2.2';
+-our $VERSION = '2.3';
++use vars qw($VERSION);$VERSION = '2.3';
=head1 NAME
@@ -42,8 +42,8 @@
for (@objs) {
my $sel = HTML::Element->new("option", value => $_->id);
$sel->attr("selected" => "selected") if ref $self
-- and eval { $_->id == $self->$col->id };
-+ and eval { $_->id == $self->$col()->id };
+- and eval { $_->id eq $self->$col->id };
++ and eval { $_->id eq $self->$col()->id };
$sel->push_content($_->stringify_self);
$a->push_content($sel);
}