Uninstall an obsolete from another (conflicting) port
Yves de Champlain
yves at macports.org
Wed Apr 4 04:21:58 PDT 2007
Le 07-04-04 à 04:30, Randall Wood a écrit :
> 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...
IMHO, this should be avoided as much as possible.
But if you got to do it, deactivate should just work.
yves
More information about the macports-dev
mailing list