[MacPorts] #34933: base: loop through sources before returning the default path in macports::getportresourcepath

MacPorts noreply at macports.org
Tue Sep 4 13:43:32 PDT 2012


#34933: base: loop through sources before returning the default path in
macports::getportresourcepath
-------------------------------------------+--------------------------------
 Reporter:  sean.michael.farley@…          |       Owner:  macports-tickets@…                   
     Type:  defect                         |      Status:  new                                  
 Priority:  Normal                         |   Milestone:  MacPorts Future                      
Component:  base                           |     Version:  2.1.1                                
 Keywords:  portgroup haspatch             |        Port:                                       
-------------------------------------------+--------------------------------

Comment(by sean.michael.farley@…):

 Replying to [comment:5 jmr@…]:
 > I don't know that potentially running the wrong deactivate/uninstall
 code (if the wrong portgroup file happens to be found first) is any better
 than just not being able to run any.

 Well, I would argue that not throwing errors to the user is better,
 especially if this is a design flaw / "feature."

 > This really needs a more general solution for keeping the portgroups
 used by installed ports, in case of either incompatibility or removal.

 I agree but lack of tcl-fu and also lack of macports internals scared me
 away.

-- 
Ticket URL: <https://trac.macports.org/ticket/34933#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list