Ignore:
Timestamp:
Sep 9, 2011, 7:37:39 PM (8 years ago)
Author:
ricci@…
Message:

add the global prefix var to the perl5 group perl5_get_default_branch function so it

can find the installed perl5 binary and thus pick the right version of
perl modules to build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/perl5-1.0.tcl

    r82654 r83724  
    4343default perl5.default_branch {[perl5_get_default_branch]}
    4444proc perl5_get_default_branch {} {
     45    global prefix
    4546    # use whatever ${prefix}/bin/perl5 was chosen, and if none, fall back to 5.12
    4647    if {![catch {set val [lindex [split [exec ${prefix}/bin/perl5 -V:version] {'}] 1]}]} {
Note: See TracChangeset for help on using the changeset viewer.