package='perl5'
pager='more /e'
passcat=''
-patchlevel='~PATCHLEVEL~'
+patchlevel='~PERL_VERSION~'
path_sep=';'
perl5=''
perl='perl'
-perl_patchlevel=''
+perl_patchlevel='~PERL_PATCHLEVEL~'
perladmin=''
perllibs='~libs~'
perlpath='~INST_TOP~~INST_VER~\bin~INST_ARCH~\perl.exe'
PERL_API_REVISION='~PERL_API_REVISION~'
PERL_API_SUBVERSION='~PERL_API_SUBVERSION~'
PERL_API_VERSION='~PERL_API_VERSION~'
-PERL_PATCHLEVEL='~PERL_VERSION~'
+PERL_PATCHLEVEL='~PERL_PATCHLEVEL~'
PERL_CONFIG_SH='true'
package='perl5'
pager='more /e'
passcat=''
-patchlevel='~PATCHLEVEL~'
+patchlevel='~PERL_VERSION~'
path_sep=';'
perl5=''
perl='perl'
+perl_patchlevel='~PERL_PATCHLEVEL~'
perladmin=''
perlpath='~INST_TOP~~INST_VER~\bin~INST_ARCH~\perl.exe'
pg=''
PERL_API_SUBVERSION='~PERL_API_SUBVERSION~'
PERL_API_VERSION='~PERL_API_VERSION~'
PATCHLEVEL='~PERL_VERSION~'
+PERL_PATCHLEVEL='~PERL_PATCHLEVEL~'
PERL_CONFIG_SH='true'
package='perl5'
pager='more /e'
passcat=''
-patchlevel='~PATCHLEVEL~'
+patchlevel='~PERL_VERSION~'
path_sep=';'
perl5=''
perl='perl'
-perl_patchlevel=''
+perl_patchlevel='~PERL_PATCHLEVEL~'
perladmin=''
perllibs='~libs~'
perlpath='~INST_TOP~~INST_VER~\bin~INST_ARCH~\perl.exe'
PERL_API_REVISION='~PERL_API_REVISION~'
PERL_API_SUBVERSION='~PERL_API_SUBVERSION~'
PERL_API_VERSION='~PERL_API_VERSION~'
-PERL_PATCHLEVEL='~PERL_VERSION~'
+PERL_PATCHLEVEL='~PERL_PATCHLEVEL~'
PERL_CONFIG_SH='true'
package='perl5'
pager='more /e'
passcat=''
-patchlevel='~PATCHLEVEL~'
+patchlevel='~PERL_VERSION~'
path_sep=';'
perl5=''
perl='perl'
-perl_patchlevel=''
+perl_patchlevel='~PERL_PATCHLEVEL~'
perladmin=''
perllibs='~libs~'
perlpath='~INST_TOP~~INST_VER~\bin~INST_ARCH~\perl.exe'
PERL_API_REVISION='~PERL_API_REVISION~'
PERL_API_SUBVERSION='~PERL_API_SUBVERSION~'
PERL_API_VERSION='~PERL_API_VERSION~'
-PERL_PATCHLEVEL='~PERL_VERSION~'
+PERL_PATCHLEVEL='~PERL_PATCHLEVEL~'
PERL_CONFIG_SH='true'
package='perl5'
pager='more /e'
passcat=''
-patchlevel='~PATCHLEVEL~'
+patchlevel='~PERL_VERSION~'
path_sep=';'
perl5=''
perl='perl'
-perl_patchlevel=''
+perl_patchlevel='~PERL_PATCHLEVEL~'
perladmin=''
perllibs='~libs~'
perlpath='~INST_TOP~~INST_VER~\bin~INST_ARCH~\perl.exe'
PERL_API_REVISION='~PERL_API_REVISION~'
PERL_API_SUBVERSION='~PERL_API_SUBVERSION~'
PERL_API_VERSION='~PERL_API_VERSION~'
-PERL_PATCHLEVEL='~PERL_VERSION~'
+PERL_PATCHLEVEL='~PERL_PATCHLEVEL~'
PERL_CONFIG_SH='true'
else {
die "Can't find $pl_h: $!";
}
+
+my $patch_file = '../.patch';
+
+if (-e $patch_file) {
+ open my $fh, "<", $patch_file or die "Can't open $patch_file: $!";
+ chomp($opt{PERL_PATCHLEVEL} = <$fh>);
+ close $fh;
+}
+
$opt{VERSION} = "$opt{PERL_REVISION}.$opt{PERL_VERSION}.$opt{PERL_SUBVERSION}";
$opt{INST_VER} =~ s|~VERSION~|$opt{VERSION}|g;
$opt{'version_patchlevel_string'} = "version $opt{PERL_VERSION} subversion $opt{PERL_SUBVERSION}";