Howto force i386 build on Snow Leopard / macports 1.8.2

Michael Hieb michael.hieb at celoso.net
Sun Jan 31 05:37:14 PST 2010


Perfect. This did the trick and indeed the i386 executable works.

Thank you.

On Sun, 31 Jan 2010, Joshua Root wrote:

> 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