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

compilers portgroup: Bugfix for compilers.enforce_c and compilers.enforce_fortran. In principle, they accepted a list of ports, but in practice a list supplied in a single statement would get enclosed in braces, and considered as a single (meaningless) item in the actual action. Now, the list appending is done correctly.

File:
1 edited

Legend:

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

    r142488 r142489  
    496496proc compilers.enforce_c {args} {
    497497    global compilers.required_c
    498     lappend compilers.required_c $args
     498    foreach portname $args {
     499        lappend compilers.required_c $portname
     500    }
    499501}
    500502
     
    521523proc compilers.enforce_fortran {args} {
    522524    global compilers.required_f
    523     lappend compilers.required_f $args
     525    foreach portname $args {
     526        lappend compilers.required_f $portname
     527    }
    524528}
    525529
Note: See TracChangeset for help on using the changeset viewer.