Re: Using platforms in 2.8.0

2022-10-22 Thread Kirill A. Korinsky via macports-dev
clear, thanks -- wbr, Kirill > On 22. Oct 2022, at 13:03, Joshua Root wrote: > > On 2022-10-22 21:56 , Kirill A. Korinsky wrote: >> I'm asking is there a way to support specified arch inside platform block's >> condition. Like: >> platform {aarch64} { >> ... >> } > > You can certainly do

Re: Using platforms in 2.8.0

2022-10-22 Thread Kirill A. Korinsky via macports-dev
Does it support somehow arch? -- wbr, Kirill > On 22. Oct 2022, at 10:50, Joshua Root wrote: > > MacPorts 2.8.0 lets you specify which OS versions your ports work on via the > platforms option. This indicates a port that works on darwin versions from > 10.x to 19.x inclusive: > > platforms

Re: Using platforms in 2.8.0

2022-10-22 Thread Marius Schamschula
I haven’t tried to build MacPorts 2.8.0 under FreeBSD (the source tarball gives a 404), but I last tried 2.7.2 built and it installed cleanly, but was unusable as portindex failed. I could debug to the point where it failed, but never could figure out what was going on. Marius -- Marius

Re: Using platforms in 2.8.0

2022-10-22 Thread Joshua Root
On 2022-10-22 21:56 , Kirill A. Korinsky wrote: I'm asking is there a way to support specified arch inside platform block's condition. Like: platform {aarch64}  { ... } You can certainly do things like: platform darwin arm { ... } or: if {$build_arch eq "arm64"} { ... } There is no arch

Re: Using platforms in 2.8.0

2022-10-22 Thread Joshua Root
On 2022-10-22 20:34 , Kirill A. Korinsky wrote: Does it support somehow arch? I'm not sure what you're asking exactly. There was already the supported_archs option of course, and either a specific set of archs or "noarch" is included in the archive filename. - Josh

Using platforms in 2.8.0

2022-10-22 Thread Joshua Root
MacPorts 2.8.0 lets you specify which OS versions your ports work on via the platforms option. This indicates a port that works on darwin versions from 10.x to 19.x inclusive: platforms {darwin >= 10 < 20} Most ports will probably only need one comparison, but you can have as many as you

Re: Using platforms in 2.8.0

2022-10-22 Thread Kirill A. Korinsky via macports-dev
I'm asking is there a way to support specified arch inside platform block's condition. Like: platform {aarch64} { ... } -- wbr, Kirill > On 22. Oct 2022, at 12:55, Joshua Root wrote: > > On 2022-10-22 20:34 , Kirill A. Korinsky wrote: >> Does it support somehow arch? > > I'm not sure what

Selfupdate to MacPorts 2.8.0 Throws Error 'Couldn't change permissions of the MacPorts sources'

2022-10-22 Thread Steven Smith
I’m consistently getting this error across multiple boxes when doing a selfupdate to 2.8.0: > Congratulations, you have successfully upgraded the MacPorts system. > > Error: Couldn't change permissions of the MacPorts sources at >