Ticket #15186 (new defect)
port upgrade does not work correctly on current pseudo-port
| Reported by: | raimue@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts base bugs |
| Component: | base | Version: | 1.6.0 |
| Keywords: | base upgrade | Cc: | |
| Port: |
Description
Instead of taking the actual porturl, macports::upgrade searches for the port in the tree which makes the behavior totally unexpected when using the current pseudo-port.
Imagine you got some directory with a Portfile outside of your ports tree which has the same name as a port in the tree. Then run port upgrade in this directory, and not the port from this directory is build and installed, but the one from the tree. This is absolutely not expected behavior.
I think macports::upgrade should take a porturl instead of the name of a port.
Change History
Note: See
TracTickets for help on using
tickets.

