Ticket #12311: fastload.patch

File fastload.patch, 650 bytes (added by sfiera@…, 17 years ago)
  • base/src/macports1.0/macports_fastload.tcl.in

    diff --git a/base/src/macports1.0/macports_fastload.tcl.in b/base/src/macports1.0/macports_fastload.tcl.in
    index a1bb24c..40434bb 100644
    a b  
    4343# installations) may experience problems due to different package loading
    4444# behavior.
    4545#
    46 if { ($tcl_version < 8.4) ||
    47         (($tcl_version == 8.4) && ([lindex [split [info patchlevel] .] 3] < 7))} {
     46if { [regexp {\d+\.\d+\.\d+} [info patchlevel]] &&
     47        ([package vcompare [info patchlevel] 8.4.7] < 0) } {
    4848        global allpackages
    4949        if {![info exists allpackages]} {
    5050                # Only patch once.