Changes between Initial Version and Version 1 of Ticket #43480, comment 10


Ignore:
Timestamp:
Aug 12, 2014, 3:53:07 PM (10 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43480, comment 10

    initial v1  
    77I get
    88{{{
    9 /opt/local/lib/perl5/site_perl/5.16/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.16 /opt/local/lib/perl5/vendor_perl/5.16/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.16 /opt/local/lib/perl5/5.16/darwin-thread-multi-2level /opt/local/lib/perl5/5.16 /opt/local/lib/perl5/site_perl/5.16 /opt/local/lib/perl5/vendor_perl/5.16 .
     9/opt/local/lib/perl5/site_perl/5.16/darwin-thread-multi-2level
     10/opt/local/lib/perl5/site_perl/5.16
     11/opt/local/lib/perl5/vendor_perl/5.16/darwin-thread-multi-2level
     12/opt/local/lib/perl5/vendor_perl/5.16
     13/opt/local/lib/perl5/5.16/darwin-thread-multi-2level
     14/opt/local/lib/perl5/5.16
     15/opt/local/lib/perl5/site_perl/5.16
     16/opt/local/lib/perl5/vendor_perl/5.16
     17.
    1018}}}
    1119instead of all the other releases. Most probably that's because perl thinks that 5.16.1 is a newer version of perl compared to 5.16, but I might be wrong. This probably needs a fix in `Configure`.
     
    1321This is only relevant if we decide to change Perl 5.16 and earlier. Modifying the INC path is desired/needed as a temporary(?) "workaround" before all > 1000 ports get revbumped.
    1422
     23I suspect the following code might be the culprit:
     24{{{
     25    if ($d->[1] lt $pversion) {
     26        if ($d->[1] ge $aversion) {
     27            unshift(@inc_version_list, grep { -d } $d->[0]."/$archname", $d->[0]);
     28        }
     29        elsif ($d->[1] ge $vsn5005) {
     30            unshift(@inc_version_list, grep { -d } $d->[0]);
     31        }
     32    }
     33    else {
     34        # Skip newer version.  I.e. don't look in
     35        # 5.7.0 if we're installing 5.6.1.
     36    }
     37}}}
     38
    1539
    1640In the other patch you can see the proposed changes for `trunk`. (I will fix some alignments that I added, but that is a purely cosmetical thing and can also wait. Alignment in perl modules is a mess in general anyway.) Before I make a new branch any review or testing is welcome.