Ignore:
Timestamp:
Nov 6, 2011, 1:40:56 AM (8 years ago)
Author:
jmr@…
Message:

python portgroup: add compiler env vars in build phase (#31046)

File:
1 edited

Legend:

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

    r83232 r86866  
    200200options python.add_archflags
    201201default python.add_archflags yes
     202options python.set_compiler
     203default python.set_compiler yes
    202204
    203205pre-build {
     
    218220        }
    219221    }
     222    if {${python.set_compiler}} {
     223        foreach var {cc objc cxx fc f77 f90} {
     224            if {[set configure.${var}] != ""} {
     225                build.env-append [string toupper $var]="[set configure.${var}]"
     226            }
     227        }
     228    }
    220229}
    221230
Note: See TracChangeset for help on using the changeset viewer.