On Dec 7, 2007, at 4:44 PM, Ryan Schmidt wrote:
I haven't looked at your changes and I don't know if the deadlock Markus describes will occur. But I have suggested a couple times that we should have a portfile keyword like "superseded_by" which can be used to indicate that a given port name is obsolete. Behavior of this keyword would be that anyone who has the port installed and uses port upgrade sees this port as needing to be upgraded. Anyone who attempts to upgrade this port gets a message that they need to uninstall this port and install this other port.
You can achieve this now with a pre-fetch ui_msg (and bumping the revision of the port that you want to remove).
Once those steps are implemented and released, we could look into more elegant solutions including MacPorts automatically uninstalling the old port and installing the new one with the same variants or something, but I don't think that's essential.
That might be an interesting project for someone, but given that this doesn't happen that often, I don't think any of the people who normally develop stuff for base are working on it. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+