Ignore:
Timestamp:
Jun 2, 2016, 6:45:53 PM (3 years ago)
Author:
dstrubbe@…
Message:

compilers portgroup: Warn if compilers.choose is set after compilers.setup.

File:
1 edited

Legend:

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

    r149153 r149154  
    481481
    482482proc compilers.choose {args} {
    483     global compilers.list
    484 
     483    global compilers.list compilers.setup_done
     484
     485    if {${compilers.setup_done}} {
     486        ui_warn "compilers.choose has an effect only before compilers.setup."
     487    }
     488   
    485489    # zero out the variable before and append args
    486490    set compilers.list {}
Note: See TracChangeset for help on using the changeset viewer.