Ticket #19719: Portfile.patch
File Portfile.patch, 842 bytes (added by mtalexander (Mike Alexander), 15 years ago) |
---|
-
Portfile
100 100 101 101 pre-configure { 102 102 # Get some system specific variables for maximum optimization 103 set cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}] 104 ui_debug "Setting CPU Frequency for: ${cpufreq}" 105 configure.args-append -D c -DPentiumCPS=${cpufreq} 103 if {[string equal "${os.arch}" "powerpc"]} { 104 } else { 105 set cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}] 106 ui_debug "Setting CPU Frequency for: ${cpufreq}" 107 conifigure.args-append -D c -DPentiumCPS=${cpufreq} 108 } 106 109 107 110 # first do a 'fake configure' of atlas so we get optimized lapack libraries 108 111 ui_debug "performing fake configure of atlas for optimized lapack"