Howto force i386 build on Snow Leopard / macports 1.8.2
Joshua Root
jmr at macports.org
Sun Jan 31 04:57:25 PST 2010
On 2010-2-1 00:00 , Michael Hieb wrote:
> I have tried to date setting the configure.cflags-append in the openvpn2
> portfile. e.g.
>
> configure.cflags-append = "-arch i386"
>
> and find the executable fails to build with multiple architectures (i386 and
> x86_64)
>
> I also tried to use a build_arch directive in the portfile but that is
> apparently not the correct place to use this directive.
This is because build_arch is not a portfile option, it's a variable
that is intended to always contain the value that was set in
macports.conf. The corresponding modifiable option is
configure.build_arch (whose value defaults to $build_arch).
- Josh
More information about the macports-users
mailing list