> On Dec 7, 2024, at 22:25, Joshua Root <j...@macports.org> wrote:
>
> On 8/12/2024 05:55, Ken Cunningham wrote:
>> The gcc8 portfile, for example, contains this at the top:
>> platforms {darwin >= 10 < 15}
>> and then this lower down, near the libgcc8 stub port:
>> platforms {darwin < 15}
>
> Make sure you're setting platforms at most once for any given subport.
>
> - Josh
I’ll find a way to rewrite things in the gcc portfiles to allow this, thanks.
As a feature request for the future, for ease of writing portfiles it might be
helpful I think if a second platforms statement would replace a previous one.
K