Modified: trunk/dports/math/atlas/Portfile (76523 => 76524)
--- trunk/dports/math/atlas/Portfile 2011-02-27 06:40:37 UTC (rev 76523)
+++ trunk/dports/math/atlas/Portfile 2011-02-27 07:53:38 UTC (rev 76524)
@@ -112,10 +112,13 @@
configure.args-append --cc='${configure.cc} -m32' \
-A PPCG4 \
-Fa alg '-fPIC -m32'
-
- if {[exec sysctl -n hw.cpu64bit_capable] == 1} {
- ui_msg "--- Compiling for G4 arch (ppc) on a G5 (ppc64) machine."
- ui_msg "--- This will lead to inferior performance."
+
+ # On Leopard, we may warn the user that ppc is not as efficient as ppc64
+ if {${os.major} == 9} {
+ if {[exec sysctl -n hw.cpu64bit_capable] == 1} {
+ ui_msg "--- Compiling for G4 arch (ppc) on a G5 (ppc64) machine."
+ ui_msg "--- This will lead to inferior performance."
+ }
}
}