[MacPorts] #61083: port info --depends repeats lines when more than one port specified
MacPorts
noreply at macports.org
Sat Aug 29 06:08:55 UTC 2020
#61083: port info --depends repeats lines when more than one port specified
-------------------------+------------------------
Reporter: ryandesign | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: base | Version: 2.6.99
Resolution: | Keywords:
Port: |
-------------------------+------------------------
Changes (by ryandesign):
* status: new => accepted
* owner: (none) => ryandesign
Comment:
Replying to [comment:1 ryandesign]:
> However, every time through the loop, `options` appears to have been
reset to its previous value. I don't know where or how `options` gets set.
Is that what's happening in src/macports1.0/macports.tcl
Ah no, it's happening in src/port/port.tcl in proc `foreachport`, and it's
intentional.
So we need to check and only replace the option in `global_options` if the
old option was actually found there (i.e. if `order_pos != -1`).
--
Ticket URL: <https://trac.macports.org/ticket/61083#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list