Handling Universal Distfiles

Ryan Schmidt ryandesign at macports.org
Wed Aug 22 23:15:58 PDT 2012


On Aug 23, 2012, at 00:58, Joshua Root wrote:
> On 2012-8-23 05:19 , Jeremy Lavergne wrote:
>> I've got a port that's now offering only binary distfiles, and those distfiles are universal for only two architectures.
>> 
>> How should this be handled? Always forcing +universal? Marking supported_archs as only the two that are supported?
> 
> You could force universal,

I used to do this in my ports. Remember to also set configure.universal_archs to match what the binaries actually contain.

> or you could lipo out the unwanted archs when
> non-universal is requested.

Now I do this. For examples see isightcapture and libxl.



More information about the macports-dev mailing list