[MacPorts] #15186: port upgrade does not work correctly on current pseudo-port

MacPorts trac at macosforge.org
Fri May 2 19:00:54 PDT 2008


#15186: port upgrade does not work correctly on current pseudo-port
---------------------------------+------------------------------------------
 Reporter:  raimue at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  MacPorts base bugs                   
Component:  ports                |     Version:  1.6.0                                
 Keywords:  base upgrade         |  
---------------------------------+------------------------------------------
 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.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15186>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list