Ticket #17182: macports.tcl.diff

File macports.tcl.diff, 882 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago)
  • macports.tcl

    old new  
    10691069
    10701070proc _pathtest {mport depspec} {
    10711071    global env
    1072     set depregex [lindex [split $depspec :] 1]
    10731072    set prefix [_mportkey $mport prefix]
     1073    set x11prefix [_mportkey $mport x11prefix]
     1074    #set frameworks_dir [_mportkey $mport frameworks_dir]
     1075    #set applications_dir [_mportkey $mport applications_dir]
     1076   
     1077    set depspec [regsub -all {\\\$\{prefix\}} $depspec $prefix]
     1078    set depspec [regsub -all {\\\$\{x11prefix\}} $depspec $x11prefix]
     1079    #set depspec [regsub -all {\\\$\{frameworks_dir\}} $depspec $frameworks_dir]
     1080    #set depspec [regsub -all {\\\$\{applications_dir\}} $depspec $applications_dir]
     1081   
     1082    set depregex [lindex [split $depspec :] 1]
    10741083   
    10751084    # separate directory from regex
    10761085    set fullname $depregex