Ignore:
Timestamp:
Aug 16, 2011, 7:18:49 AM (8 years ago)
Author:
ryandesign@…
Message:

app-1.0.tcl: don't die if the port has no existing build dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/app-1.0.tcl

    r82560 r82581  
    272272    global depends_build
    273273    upvar ${optionName} option
    274     set has_dep [expr {[lsearch ${depends_build} port:makeicns] != -1}]
     274    set has_dep [expr {[info exists depends_build] ? [lsearch ${depends_build} port:makeicns] != -1 : 0}]
    275275    set needs_dep [expr {[file extension ${option}] != ".icns"}]
    276276    if {${has_dep} && !${needs_dep}} {
Note: See TracChangeset for help on using the changeset viewer.