os.arch on Linux

Rainer Müller raimue at macports.org
Sat Oct 10 05:43:00 PDT 2015


On 10/10/2015 12:54 PM, René J.V. Bertin wrote:
> MacPorts can generate .deb packages, a feature I just tried on Linux. Turns
> out it set the architecture to i386, which AFAIK is not appropriate for a 64
> bit platform like mine.
> 
> So fwiw, attached is a patch that appears to address that issue; it prevents
> os.arch from being set to i386 instead of x86_64. I'm not sure why that logic
> is in place in the 1st place: a remnant from the days there were only 32bit
> MacIntels?

Hm, if ${os_arch} ends up in the package, I am not sure this is correct as you
could build i386 packages on x86_64. Shouldn't this respect ${build.arch}?

Anyway, support for .deb and .rpm was removed on trunk in r123004.

Rainer


More information about the macports-dev mailing list