summaryrefslogtreecommitdiff
path: root/lang/perl5.14/files/perl-after-upgrade
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2009-03-28 20:45:10 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2009-03-28 20:45:10 +0000
commit1a9ef9fa6754e0c0f087f4e7a76e65029a75941c (patch)
treee0596dfc5254e65a6f3de0b5eb6d25f4ad08a7d0 /lang/perl5.14/files/perl-after-upgrade
parentUpdate to 20081128. Changes include: (diff)
Introduce Perl 5.10.0
Notes
Notes: svn path=/head/; revision=231213
Diffstat (limited to 'lang/perl5.14/files/perl-after-upgrade')
-rw-r--r--lang/perl5.14/files/perl-after-upgrade12
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/perl5.14/files/perl-after-upgrade b/lang/perl5.14/files/perl-after-upgrade
index 144af3a3341c..a7f074d7566a 100644
--- a/lang/perl5.14/files/perl-after-upgrade
+++ b/lang/perl5.14/files/perl-after-upgrade
@@ -23,10 +23,10 @@ perl-after-upgrade -- fixup FreeBSD packages that depend on perl
=head1 DESCRIPTION
-The standard procedure after a perl port (either lang/perl5.6 or
-lang/perl5.8) upgrade is to basically reinstall all other packages that
-depend on perl. This is always a painful exercise. The
-perl-after-upgrade utility makes this process mostly unnecessary.
+The standard procedure after a perl port (lang/perl5.X) upgrade is to
+basically reinstall all other packages that depend on perl.
+This is always a painful exercise. The perl-after-upgrade utility makes
+this process mostly unnecessary.
The tool goes through the list of installed packages, looks for those
that depend on perl, moves files around, modifies shebang lines in those
@@ -222,7 +222,7 @@ use File::Copy;
my $dry_run = 1;
my @tmpl;
-my $VERSION = "1.2";
+my $VERSION = "1.3";
while (@ARGV) {
my $opt = shift;
@@ -250,7 +250,7 @@ while (@ARGV) {
my $target = '%%PERL_VERSION%%';
my $new_perl_pkgname = '%%PKGNAME%%';
-my $fuzzy_source = "5\\.[\\d._]+";
+my $fuzzy_source = qr/5\.10\.\d+/;
print STDERR "- Fuzzy source re: <$fuzzy_source>\n" if $debug;
my @errors;