Revision: 76524 http://trac.macports.org/changeset/76524 Author: vince@macports.org Date: 2011-02-26 23:53:38 -0800 (Sat, 26 Feb 2011) Log Message: ----------- Correct a Tiger side-effect. Modified Paths: -------------- trunk/dports/math/atlas/Portfile Modified: trunk/dports/math/atlas/Portfile =================================================================== --- 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." + } } }