Uninstall an obsolete from another (conflicting) port

Randall Wood rhwood at mac.com
Wed Apr 4 01:30:00 PDT 2007


What's the best way to do this?

I have seen calls in ports doing this in the past like:

pre-install {
	system "port -f uninstall xxx"
}

Which is not really the way to do it. Clearly the best way would be  
loop the list of versions of the port and uninstall each one using  
the MacPorts API, but given the state of the docs...

Randall Wood
rhwood at mac.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."





More information about the macports-dev mailing list