{ darwin any } ports getting reinstalled after OS upgrade

Nils Breunese nils at breun.nl
Wed Sep 27 13:01:51 UTC 2023


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.

Nils.


More information about the macports-dev mailing list