[MacPorts] #66288: Discussion re pre-build ports for PPC
MacPorts
noreply at macports.org
Fri May 19 13:05:37 UTC 2023
#66288: Discussion re pre-build ports for PPC
----------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: buildbot/mpbb | Version: 2.8.0
Resolution: | Keywords: powerpc, leopard, snowleopard
Port: |
----------------------------+-------------------------------------------
Comment (by mascguy):
Replying to [comment:12 ryandesign]:
> Another thing you can do to help is to file pull requests that add
minimum OS version information to ports that don't have it. For example,
if a port requires OS X 10.9 (Darwin 13) or later, the Portfile should
contain the line:
>
> {{{
> platforms {darwin >= 13}
> }}}
>
> Most ports don't have this information because MacPorts didn't have the
capability to represent it until the release of MacPorts 2.8.0 in October
2022 (see #15712). (Some ports use an older method of conveying this
information, setting `known_fail yes` depending on some conditional, which
also works. To the extent that the conditional has to do with OS versions
only, these should be converted to use the new method as time permits.)
Gosh, that is a much cleaner and better approach than `known_fail`. And
wouldn't have known about that, if I didn't happen to read this
discussion.
Perhaps we might want to publicize such additions to all
members/maintainers, as it's easy for such enhancements to get lost in the
release notes of new releases!
--
Ticket URL: <https://trac.macports.org/ticket/66288#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list