[MacPorts] #71918: platforms syntax for indicating supported OS versions doesn't appear to work
MacPorts
noreply at macports.org
Thu Jan 23 03:46:07 UTC 2025
#71918: platforms syntax for indicating supported OS versions doesn't appear to
work
------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.10.5
Keywords: | Port:
------------------------+--------------------
In #71475 I wanted to indicate that the nodejs22 port does not support Mac
OS X 10.7.
I tried to follow the example given in
[28666188b01ef181a93b36b7468807ae558c5d3b/macports-base] which says:
> Usage example: A port that works on Darwin versions between 16 and 22
> inclusive, except for 18.2.x, and doesn't work on Linux:
> {{{
> platforms {darwin >= 16 != 18.2.* < 23} {linux != *}
> }}}
I tried:
{{{
platforms {darwin < 11 >= 12}
}}}
and:
{{{
platforms {darwin < 11} {darwin >= 12}
}}}
Neither worked. Both resulted in the port setting `known_fail` to `yes` on
all Darwin versions. I replaced the code with:
{{{
platform darwin 11 {
known_fail yes
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71918>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list