On Jan 1, 2010, at 17:17, [email protected] wrote:
> Revision: 62252
> http://trac.macports.org/changeset/62252
> Author: [email protected]
> Date: 2010-01-01 15:17:23 -0800 (Fri, 01 Jan 2010)
> Log Message:
> -----------
> Closes #23088 - building for 64-bit SL and adds openmpi variant as per #21922
> +platform darwin 10 {
> + configure.args-append --enable-apple-64bit
> +}
This is not a good way to address this problem. What about 32-bit builds on
Snow Leopard -- for 32-bit CPUs, or for people selecting i386 build_arch in
macports.conf? What about 64-bit builds on Leopard? What about the OS that
comes after Snow Leopard? Instead, you should inspect the configure.build_arch
variable and enable 64-bit if the build_arch requests it. Note this is only
good for non-universal builds. For universal builds, you need to instead
inspect configure.universal_archs. Actually, you probably want to use the
muniversal portgroup so that you can pass --enable-apple-64bit to the 64-bit
builds and not pass it to the 32-bit builds. There are some example ports that
do this kind of thing.
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev