[31791] trunk/dports/devel

Daniel J. Luke dluke at geeklair.net
Fri Dec 7 14:38:31 PST 2007


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 at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20071207/421cba4e/PGP-0001.bin


More information about the macports-dev mailing list