Ignore:
Timestamp:
Nov 11, 2002, 9:11:24 AM (16 years ago)
Author:
kevin
Message:

Deprecate dportmatch in favor of dportsearch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portutil.tcl

    r1176 r1226  
    10771077    array set options [list]
    10781078    array set variations [list]
    1079     array set portinfo [dportmatch ^$portname\$]
    1080     if {[array size portinfo] == 0} {
     1079    set res [dportsearch ^$portname\$]
     1080    if {[llength $res] < 2} {
    10811081        ui_error "Dependency $portname not found"
    10821082        return -1
    10831083    }
     1084        array set portinfo [lindex $res 1]
    10841085    set porturl $portinfo(porturl)
    10851086   
Note: See TracChangeset for help on using the changeset viewer.