Changeset 2136


Ignore:
Timestamp:
Mar 3, 2003, 9:45:25 PM (17 years ago)
Author:
kevin
Message:

Trap the case where a dependency isn't found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/darwinports1.0/darwinports.tcl

    r2089 r2136  
    323323                $target == "package" || $target == "mpkg"} {
    324324
    325                 dportdepends $dport 1 1
     325                if {[dportdepends $dport 1 1] != 0} {
     326                        return 1
     327                }
    326328               
    327329                # Select out the dependents along the critical path,
     
    470472                }
    471473
     474                if {![info exists porturl]} {
     475                        ui_error "Dependency '$portname' not found."
     476                        return 1
     477                }
     478
    472479                set options [ditem_key $dport options]
    473480                set variations [ditem_key $dport variations]
Note: See TracChangeset for help on using the changeset viewer.