32-bit builds?

Brandon Allbery allbery.b at gmail.com
Thu Nov 26 07:28:10 PST 2015


On Thu, Nov 26, 2015 at 10:24 AM, Brandon Allbery <allbery.b at gmail.com>
wrote:

> On Thu, Nov 26, 2015 at 10:16 AM, Mark Brethen <mark.brethen at gmail.com>
> wrote:
>
>> I suspect the source does not support 64-bit builds. How do I tweak the
>> port to build universal? Is there an example port I could look at?
>
>
> Most ports will "just work", because there's a default +universal variant.
> Otherwise look for ports using the muniversal PortGroup, I think.
> Unfortunately, for things that don't "just work", the changes needed tend
> to be very port-specific; and there's far more ports that just disable
> universal builds than tweak it to work, in at least some cases because
> untangling the changes needed for universal builds turned out to be too
> difficult / not worth the effort.
>

Also, if a given port will only build 32 bit, there's the supported_archs
Portfile keyword (see for example wine, which will probably never work 64
bit because of a register conflict between Windows' and Apple's x86_64
ABIs).

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20151126/fe11948d/attachment.html>


More information about the macports-dev mailing list