X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/ff36a2888e53279f5d5e02f24e556b77324953e4..95c04cdeb56d45fc9abbac71ca13bfc750bc0a21:/make_ext.pl?ds=sidebyside diff --git a/make_ext.pl b/make_ext.pl index 13f892a..d6561b1 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -211,10 +211,11 @@ elsif ($is_VMS) { { # Cwd needs to be built before Encode recurses into subdirectories. + # Pod::Simple needs to be built before Pod::Functions # This seems to be the simplest way to ensure this ordering: my (@first, @other); foreach (@extspec) { - if ($_ eq 'Cwd') { + if ($_ eq 'Cwd' || $_ eq 'Pod/Simple') { push @first, $_; } else { push @other, $_; @@ -377,6 +378,10 @@ WriteMakefile( EOM close $fh or die "Can't close Makefile.PL: $!"; } + eval { + my $ftime = time - 4; + utime $ftime, $ftime, 'Makefile.PL'; + }; print "\nRunning Makefile.PL in $ext_dir\n"; # Presumably this can be simplified @@ -388,7 +393,7 @@ EOM # Inherited from make_ext.pl @cross = '-MCross'; } - + my @args = ("-I$lib_dir", @cross, 'Makefile.PL'); if ($is_VMS) { my $libd = VMS::Filespec::vmspath($lib_dir);