[76523] trunk/dports/math/atlas/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Feb 26 23:01:38 PST 2011


On Feb 27, 2011, at 00:40, vince at macports.org wrote:

> Revision: 76523
>          http://trac.macports.org/changeset/76523
> Author:   vince at macports.org
> Date:     2011-02-26 22:40:37 -0800 (Sat, 26 Feb 2011)
> Log Message:
> -----------
> Force G4 arch even if G5 CPU are installed.
> 
> Modified Paths:
> --------------
>    trunk/dports/math/atlas/Portfile


> +    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."
> +    }

This will cause an error on Tiger; sysctl didn't get the hw.cpu64bit_capable selector until Leopard.





More information about the macports-dev mailing list