accessing the notes of the active port version
René J. V. Bertin
rjvbertin at gmail.com
Tue Jul 30 12:31:40 UTC 2019
Fred Wright wrote:
> Another problem (perhaps more easily fixed) is that if the notes are
> variant-dependent, then the notes reported by the above command will be
> based on the default variants rather than the active variants. To avoid
> this, one needs to determine the installed variants and then include them
> in the 'notes' command.
The notes are just a string (or set of strings) that are registered, presumably
in the registry but possibly computed from the (registry) Portfile and displayed
in some post-activate phase.
Any variant-specific nature would be inherited automatically if this procedure
were made accessible through the port driver. Be it just for the active
installed port, or via a selection mechanism as with port de/activate or port
uninstall.
R.
More information about the macports-dev
mailing list