On 2013-3-7 02:25 , Vincent Habchi wrote:
> ‘sysctl -n hw.machine’ on Intel gives directly the result (either 'i386' or 
> 'x86_64'). For PPC, I test ‘sysctl -n hw.cpusubtype’ to sort ppc from ppc64. 
> Both work on Tiger and above, so there is no need for a catch block.

If it's used inside a phase, that's true, but if the sysctl is executed
just by parsing the portfile, then you do need to catch it.

- Josh
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to