Ignore:
Timestamp:
Jun 10, 2015, 9:56:45 PM (4 years ago)
Author:
dstrubbe@…
Message:

compilers portgroup: Make it possible to have multiple calls to compilers.enforce_c and compilers.enforce_fortran in a Portfile. Previously, they would overwrite one another, so only the last one had an effect.

File:
1 edited

Legend:

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

    r137348 r137380  
    433433proc compilers.enforce_c {args} {
    434434    global compilers.required_c
    435     set compilers.required_c $args
     435    lappend compilers.required_c $args
    436436}
    437437
     
    454454proc compilers.enforce_fortran {args} {
    455455    global compilers.required_f
    456     set compilers.required_f $args
     456    lappend compilers.required_f $args
    457457}
    458458
Note: See TracChangeset for help on using the changeset viewer.