[60515] trunk/dports/math/atlas/Portfile
jameskyle at macports.org
jameskyle at macports.org
Sat Nov 14 08:27:23 PST 2009
Revision: 60515
http://trac.macports.org/changeset/60515
Author: jameskyle at macports.org
Date: 2009-11-14 08:27:19 -0800 (Sat, 14 Nov 2009)
Log Message:
-----------
Placed the platform args in pre-configure, otherwise cpufreq went out of scope.
Modified Paths:
--------------
trunk/dports/math/atlas/Portfile
Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile 2009-11-14 16:24:40 UTC (rev 60514)
+++ trunk/dports/math/atlas/Portfile 2009-11-14 16:27:19 UTC (rev 60515)
@@ -105,6 +105,14 @@
set cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}]
ui_debug "Setting CPU Frequency for: ${cpufreq}"
+ platform darwin i386 {
+ configure.args-append -D c -DPentiumCPS=${cpufreq}
+ }
+
+ platform darwin ppc {
+ configure.args-append -D c -DWALL
+ }
+
# first do a 'fake configure' of atlas so we get optimized lapack libraries
ui_debug "performing fake configure of atlas for optimized lapack"
# atlas docs: 3.1.2
@@ -206,12 +214,4 @@
system "cd ${destroot}${prefix}/lib && \
ln -sf ./libptcblas.dylib libcblas.dylib && \
ln -sf ./libptf77blas.dylib libf77blas.dylib"
-}
-
-platform darwin i386 {
- configure.args-append -D c -DPentiumCPS=${cpufreq}
-}
-
-platform darwin ppc {
- configure.args-append -D c -DWALL
}
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091114/eefc1c9d/attachment.html>
More information about the macports-changes
mailing list