Ignore:
Timestamp:
Aug 13, 2005, 1:06:58 AM (13 years ago)
Author:
pguyot (Paul Guyot)
Message:

Fix a bug where -t would incorrectly report dependencies that are in PortIndex.

Bug: #4354
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

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

    r13466 r13488  
    675675                                foreach deptype $deptypes {
    676676                                        # Add to the list of dependencies if the option exists and isn't empty.
    677                                         if {[info exists portinfo($deptype)] && $portinfo($deptype) != ""} {
    678                                                 set depends [concat $depends $portinfo($deptype)]
     677                                        if {[info exists PortInfo($deptype)] && $PortInfo($deptype) != ""} {
     678                                                set depends [concat $depends $PortInfo($deptype)]
    679679                                        }
    680680                                }
     
    682682                                # Dependencies are in the form verb:[param:]port
    683683                                set depsPorts {}
    684                                 foreach dep $depends {
     684                                foreach depspec $depends {
    685685                                        # grab the portname portion of the depspec
    686686                                        set portname [lindex [split $depspec :] end]
Note: See TracChangeset for help on using the changeset viewer.