Re: question about overriding the platforms statement in subports

2024-12-08 Thread Joshua Root
On 9/12/2024 06:26, Ryan Carsten Schmidt wrote: On Dec 8, 2024, at 09:52, Ken Cunningham wrote: 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. It's pretty unexpected to me if that's

Re: question about overriding the platforms statement in subports

2024-12-08 Thread Ryan Carsten Schmidt
On Dec 8, 2024, at 09:52, Ken Cunningham wrote: > > 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. It's pretty unexpected to me if that's not already the case since other variables

Re: question about overriding the platforms statement in subports

2024-12-08 Thread Ken Cunningham
> On Dec 7, 2024, at 22:25, Joshua Root 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 su

Re: question about overriding the platforms statement in subports

2024-12-07 Thread Joshua Root
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. -

Re: question about overriding the platforms statement in subports

2024-12-07 Thread Sergey Fedorov
Just in case, dropping gcc-4.2 from this line does not change anything, right? https://github.com/macports/macports-ports/blob/0dea602a9f195ca39a6a0318d54c10b80036d35d/lang/gcc14/Portfile#L350 Sorry, cannot check at the moment. At least before that was a bug in the port, which introduced circular

question about overriding the platforms statement in subports

2024-12-07 Thread Ken Cunningham
I'm trying to understand why I see this error when trying to install gcc7 on 10.5 PPC, using the PR we are working on in https://github.com/macports/macports-ports/pull/26655 to update the default gcc compiler on older systems to gcc14. gcc 8, 11, 12, and 13 are not currently enabled for system