mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Drop support for perl 5.003.
Hat: portmgr
This commit is contained in:
parent
4e74b3a568
commit
8bf833f731
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199067
@ -22,16 +22,4 @@ PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Convert::Bencode.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-lib-Convert-Bencode.pm
|
||||
|
||||
post-patch:
|
||||
${FIND} ${WRKSRC} -name "*.orig" -delete
|
||||
|
||||
post-configure:
|
||||
${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,25 +0,0 @@
|
||||
--- lib/Convert/Bencode.pm.orig Tue Oct 7 05:07:53 2003
|
||||
+++ lib/Convert/Bencode.pm Mon Feb 20 01:00:56 2006
|
||||
@@ -64,12 +64,10 @@
|
||||
=cut
|
||||
|
||||
use strict;
|
||||
-use warnings;
|
||||
-use bytes;
|
||||
|
||||
BEGIN {
|
||||
use Exporter ();
|
||||
- our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, @EXPORT_FAIL, %EXPORT_TAGS);
|
||||
+ use vars qw($VERSION @ISA @EXPORT @EXPORT_OK @EXPORT_FAIL %EXPORT_TAGS);
|
||||
|
||||
$VERSION = 1.03;
|
||||
@ISA = qw(Exporter);
|
||||
@@ -77,7 +75,7 @@
|
||||
@EXPORT_FAIL = qw(&_dechunk);
|
||||
%EXPORT_TAGS = (all => [qw(&bencode &bdecode)]);
|
||||
}
|
||||
-our @EXPORT_OK;
|
||||
+use vars @EXPORT_OK;
|
||||
|
||||
END { }
|
||||
|
@ -23,12 +23,4 @@ PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Class::DBI::AsForm.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
EXTRA_PATCHES= ${PATCHDIR}/500503-AsForm.pm
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/lib/Class/DBI/AsForm.pm.orig
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,25 +0,0 @@
|
||||
--- lib/Class/DBI/AsForm.pm.orig Wed Sep 7 11:53:35 2005
|
||||
+++ lib/Class/DBI/AsForm.pm Wed Sep 7 11:55:48 2005
|
||||
@@ -1,18 +1,17 @@
|
||||
package Class::DBI::AsForm;
|
||||
|
||||
-use 5.006;
|
||||
-our $VERSION = '2.42';
|
||||
+use vars qw($VERSION $OLD_STYLE @EXPORT);
|
||||
+$VERSION = '2.42';
|
||||
|
||||
use strict;
|
||||
-use warnings;
|
||||
|
||||
use base 'Exporter';
|
||||
|
||||
use Class::DBI::Plugin::Type ();
|
||||
use HTML::Element;
|
||||
|
||||
-our $OLD_STYLE = 0;
|
||||
-our @EXPORT = qw( to_cgi to_field _to_textarea _to_textfield _to_select
|
||||
+$OLD_STYLE = 0;
|
||||
+@EXPORT = qw( to_cgi to_field _to_textarea _to_textfield _to_select
|
||||
type_of );
|
||||
|
||||
=head1 NAME
|
Loading…
Reference in New Issue
Block a user