Ignore:
Timestamp:
Nov 13, 2015, 12:37:27 AM (3 years ago)
Author:
dstrubbe@…
Message:

compilers portgroup: Add debug statements of what we are enforcing C or Fortran for. Fix indentation again from two commits ago. Remove comment that is better explained above in documentation.

File:
1 edited

Legend:

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

    r142487 r142488  
    494494}
    495495
    496 # for the c compiler
    497496proc compilers.enforce_c {args} {
    498497    global compilers.required_c
     
    501500
    502501proc compilers.action_enforce_c {args} {
     502    ui_debug "compilers.enforce_c list: ${args}"
    503503    foreach portname $args {
    504504        if {![catch {set result [active_variants $portname "" ""]}]} {
     
    526526proc compilers.action_enforce_f {args} {
    527527    global compilers.gcc_default
     528
     529    ui_debug "compilers.enforce_fortran list: ${args}"
    528530    foreach portname $args {
    529531        if {![catch {set result [active_variants $portname "" ""]}]} {
     
    544546                return -code error "$portname +$myf not installed"
    545547            }
    546          } else {
    547              ui_error "Internal error: compilers.enforce_fortran: '$portname' is not an installed port."
    548              return -code error "Internal error: compilers.enforce_fortran: '$portname' is not an installed port."
    549          }
     548        } else {
     549            ui_error "Internal error: compilers.enforce_fortran: '$portname' is not an installed port."
     550            return -code error "Internal error: compilers.enforce_fortran: '$portname' is not an installed port."
     551        }
    550552    }
    551553}
Note: See TracChangeset for help on using the changeset viewer.