This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't process .patch in Configure
authorJerry D. Hedden <jdhedden@cpan.org>
Mon, 20 Sep 2010 17:42:06 +0000 (13:42 -0400)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 21 Sep 2010 00:41:35 +0000 (17:41 -0700)
The format of the .patch file is no longer an integer change
number, and generates an error when processed by Configure.
As .patch is now handled by make_patchnum.pl, the attached
patch removes processing of .patch from Configure.

Configure

index 093984f..553a058 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -4162,11 +4162,6 @@ else
        perl_patchlevel=0
        $echo "(You do not have patchlevel.h.  Eek.)"
 fi
-if $test -r $rsrc/.patch ; then
-       if $test "X$perl_patchlevel" = "X" || $test "`cat $rsrc/.patch`" -gt "$perl_patchlevel" ; then
-               perl_patchlevel=`cat $rsrc/.patch`
-       fi
-fi
 : Define a handy string here to avoid duplication in myconfig.SH and configpm.
 version_patchlevel_string="version $patchlevel subversion $subversion"
 case "$perl_patchlevel" in