summaryrefslogtreecommitdiff
path: root/lang/perl5.14/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5.14/files')
-rw-r--r--lang/perl5.14/files/perl-after-upgrade2
-rw-r--r--lang/perl5.14/files/use.perl2
2 files changed, 3 insertions, 1 deletions
diff --git a/lang/perl5.14/files/perl-after-upgrade b/lang/perl5.14/files/perl-after-upgrade
index 2cd3c3fe8b21..bb9450fa602a 100644
--- a/lang/perl5.14/files/perl-after-upgrade
+++ b/lang/perl5.14/files/perl-after-upgrade
@@ -264,7 +264,7 @@ while (@ARGV) {
our $PERL_VERSION = '%%PERL_VERSION%%';
our $PERL_PKGNAME = '%%PKGNAME%%';
-our $PERL_VERSION_REGEX = qr/5\.10\.\d+/;
+our $PERL_VERSION_REGEX = qr/5\.12\.\d+/;
print STDERR "- Fuzzy source re: <$PERL_VERSION_REGEX>\n" if $debug;
our @errors;
diff --git a/lang/perl5.14/files/use.perl b/lang/perl5.14/files/use.perl
index e6314754e43f..3603d6ea50ae 100644
--- a/lang/perl5.14/files/use.perl
+++ b/lang/perl5.14/files/use.perl
@@ -95,6 +95,7 @@ do_cleanup_make_conf()
{
echo -n "Cleaning up ${MAKE_CONF}..."
if [ -f ${MAKE_CONF} ] ; then
+ /bin/cp -p ${MAKE_CONF} ${MAKE_CONF}.new
/usr/bin/awk 's=0;
/^#.*use.perl/ { s=1; mode=1 }
/^#/ { s=1; if (mode != 1) { mode=0 } }
@@ -111,6 +112,7 @@ do_cleanup_manpath()
{
echo -n "Cleaning up /etc/manpath.config..."
if [ -f /etc/manpath.config ] ; then
+ /bin/cp -p /etc/manpath.config /etc/manpath.config.new
/usr/bin/awk 's=0;
/^#.*use.perl/ { s=1; mode=1 }
/^#/ { s=1; if (mode != 1) { mode=0 } }