Modified: trunk/dports/_resources/port1.0/group/python-1.0.tcl (86865 => 86866)
--- trunk/dports/_resources/port1.0/group/python-1.0.tcl 2011-11-06 00:32:25 UTC (rev 86865)
+++ trunk/dports/_resources/port1.0/group/python-1.0.tcl 2011-11-06 01:40:56 UTC (rev 86866)
@@ -199,6 +199,8 @@
options python.add_archflags
default python.add_archflags yes
+options python.set_compiler
+default python.set_compiler yes
pre-build {
if {${python.add_archflags}} {
@@ -217,6 +219,13 @@
LDFLAGS="${configure.ld_archflags}"
}
}
+ if {${python.set_compiler}} {
+ foreach var {cc objc cxx fc f77 f90} {
+ if {[set configure.${var}] != ""} {
+ build.env-append [string toupper $var]="[set configure.${var}]"
+ }
+ }
+ }
}
options python.link_binaries python.link_binaries_suffix