Ensure that lib is built before IO-Compress
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Fri, 10 Mar 2017 11:40:21 +0000 (11:40 +0000)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Fri, 10 Mar 2017 11:40:21 +0000 (11:40 +0000)
Makefile.SH
make_ext.pl

index 9e233c9..ca86afd 100755 (executable)
@@ -189,11 +189,12 @@ dynamic_list=' '
 dynamic_ext_re="lib/auto/re/re.$dlext"
 extra_dep='
 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
 '
 for f in $dynamic_ext; do
     : the dependency named here will never exist
       base=`echo "$f" | sed 's/.*\///'`
-    this_target="lib/auto/$f/$base.$dlext"  
+    this_target="lib/auto/$f/$base.$dlext"
     dynamic_list="$dynamic_list $this_target"
 
     : Parallel makes reveal that we have some interdependencies
index c129a34..80d8f68 100644 (file)
@@ -204,10 +204,11 @@ elsif (IS_VMS) {
 {
     # Cwd needs to be built before Encode recurses into subdirectories.
     # Pod::Simple needs to be built before Pod::Functions
+    # lib needs to be built before IO-Compress
     # This seems to be the simplest way to ensure this ordering:
     my (@first, @other);
     foreach (@extspec) {
-       if ($_ eq 'Cwd' || $_ eq 'Pod/Simple') {
+       if ($_ eq 'Cwd' || $_ eq 'Pod/Simple' || $_ eq 'lib') {
            push @first, $_;
        } else {
            push @other, $_;