[MacPorts] #71918: Unexpected results with platforms syntax for multiple ranges of OS versions

MacPorts noreply at macports.org
Mon Jan 27 13:34:40 UTC 2025


#71918: Unexpected results with platforms syntax for multiple ranges of OS versions
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.10.5
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by ryandesign):

 I'm not sure if you're being intentionally contrary or if you really don't
 understand the point I'm trying to make, so I'll try one more time:

 When I write `platforms darwin freebsd` I intend to communicate that a
 port works on darwin and that it works on freebsd without making any
 statements about any other platforms, and as far as I know that is how
 MacPorts interprets it and the way that it is documented to work.

 Similarly, when I write `platforms {darwin < 11} {darwin >= 12}` (or
 equivalently `{darwin < 11 >= 12}` or `{darwin >= 12 < 11}`) I intend to
 communicate that the port works on darwin versions less than 11 and that
 it works on darwin version 12 and greater without making any statements
 about any other darwin versions, but that is not how MacPorts interprets
 it, and that's what was unexpected to me, having not read the
 documentation, and I think the documentation could be clarified on this
 point, perhaps with another example.

-- 
Ticket URL: <https://trac.macports.org/ticket/71918#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list