[MacPorts] #70077: The stub PG should (be able to) clear all pre- and post- blocks
MacPorts
noreply at macports.org
Sat May 25 11:52:52 UTC 2024
#70077: The stub PG should (be able to) clear all pre- and post- blocks
--------------------+--------------------
Reporter: RJVB | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Keywords: | Port:
--------------------+--------------------
Anyone who has ever had to deal with the situation where a port is (or has
to be) nothing but a stub knows that it can get unnecessarily complicated
to implement. The `stub` PG helps but not with the fact that `pre-X` and
`post-X` code blocks will be executed anyway.
I don't really know what's the ideal solution here, clearing all those
pre- and post- blocks from the stub PortGroup or simply not executing them
under specific condition(s). The stub PG currently uses a `post-destroot`
block itself but that could just as well be used as the `destroot`
instead.
--
Ticket URL: <https://trac.macports.org/ticket/70077>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list