In perl.git, the branch smoke-me/khw-simple has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/d60a1ce810140fcf6826640ce4fba662f2d19337?hp=0ab8a96e7e1832f765f6e0d88a3566a4c9cb9a2c>

- Log -----------------------------------------------------------------
commit d60a1ce810140fcf6826640ce4fba662f2d19337
Author: Karl Williamson <[email protected]>
Date:   Mon May 27 11:00:07 2019 -0600

    smoke

-----------------------------------------------------------------------

Summary of changes:
 make_ext.pl | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/make_ext.pl b/make_ext.pl
index 9bc4718d52..7717a52315 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -70,6 +70,7 @@ foreach (@ARGV) {
        push @extspec, $_;
     }
 }
+       $verbose = 1;
 
 my $static = $opts{static} || $opts{all};
 my $dynamic = $opts{dynamic} || $opts{all};
@@ -203,18 +204,22 @@ elsif (IS_VMS) {
 
 {
     # 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);
+    print STDERR join ", ", __FILE__, __LINE__, @extspec, "\n";
 }
 
 if ($Config{osname} eq 'catamount' and @extspec) {

-- 
Perl5 Master Repository

Reply via email to