mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
Make sure 'if' compiled before Pod::Simple
3.36 of Pod::Simple requires 'if', and this makes sure it works.
This commit is contained in:
parent
b83fde9727
commit
926760a67e
@ -197,6 +197,7 @@ done
|
||||
dynamic_list=' '
|
||||
dynamic_ext_re="lib/auto/re/re.$dlext"
|
||||
extra_dep='
|
||||
cpan/Pod-Simple/pm_to_blib: dist/if/pm_to_blib
|
||||
ext/Pod-Functions/pm_to_blib: cpan/Pod-Simple/pm_to_blib cpan/Pod-Escapes/pm_to_blib pod/perlfunc.pod
|
||||
cpan/IO-Compress/pm_to_blib: dist/lib/pm_to_blib
|
||||
'
|
||||
|
||||
11
make_ext.pl
11
make_ext.pl
@ -217,18 +217,21 @@ elsif (IS_VMS) {
|
||||
|
||||
{ # XXX hack for dependency ordering
|
||||
# Cwd needs to be built before Encode recurses into subdirectories.
|
||||
# Pod::Simple needs to be built before Pod::Functions
|
||||
# Pod::Simple needs to be built before Pod::Functions, but after 'if'
|
||||
# lib needs to be built before IO-Compress
|
||||
# This seems to be the simplest way to ensure this ordering:
|
||||
my (@first, @other);
|
||||
my (@first, @second, @other);
|
||||
foreach (@extspec) {
|
||||
if ($_ eq 'Cwd' || $_ eq 'Pod/Simple' || $_ eq 'lib') {
|
||||
if ($_ eq 'Cwd' || $_ eq 'if' || $_ eq 'lib') {
|
||||
push @first, $_;
|
||||
}
|
||||
elsif ($_ eq 'Pod/Simple') {
|
||||
push @second, $_;
|
||||
} else {
|
||||
push @other, $_;
|
||||
}
|
||||
}
|
||||
@extspec = (@first, @other);
|
||||
@extspec = (@first, @second, @other);
|
||||
}
|
||||
|
||||
if ($Config{osname} eq 'catamount' and @extspec) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user