pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MACHINE_ARCH is now i386 on Darwin with ABI=64 (should be x86_64?)



* On 2016-01-25 at 09:36 GMT, Jonathan Perkin wrote:

> * On 2016-01-25 at 09:28 GMT, Andreas Kusalananda Kähäri wrote:
> 
> > With these changes, my Darwin host, with ABI=64, now builds packages
> > that has "MACHINE_ARCH=i386" rather than x86_64.  Do I need to set
> > MACHINE_ARCH in mk.conf?  Or do I need to blow everything away and
> > re-run the bootstrap?
> 
> You'll need to re-bootstrap.

I forgot to mention that you probably don't need to blow everything
away, and should be able to get away with simply rebuilding bmake with
the correct MACHINE_ARCH set, i.e.

  $ cd devel/bmake
  $ bmake MACHINE_ARCH=x86_64 package
  $ pkg_add -U /path/to/bmake-20150505.tgz

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index