{ darwin any } ports getting reinstalled after OS upgrade

Joshua Root jmr at macports.org
Wed Sep 27 13:08:16 UTC 2023


On 27/9/2023 23:01, Nils Breunese wrote:
> Christopher Jones <jonesc at hep.phy.cam.ac.uk> wrote:
> 
>> I had no idea we supported single tarballs for multiple OS versions.
>>
>> I must say, the distinction between
>>
>> platforms { darwin any }
>>
>> and
>>
>> platforms {darwin >= 11}
>>
>> which *does* result in specific tarballs for each OS is a bit too subtle for my tastes. I presume it’s the present of ‘any’ which is important here ?
> 
> You can do this:
> 
> 	platforms { darwin any } { darwin >= 11 }
> 
> Which means that the port will install on Darwin 11+, and it will install identically on all of those supported versions.

Or the simpler form

platforms {darwin any >= 11}

- Josh


More information about the macports-dev mailing list