Handling the movement of a header file between packages

Jeremy Lavergne jeremy at lavergne.gotdns.org
Wed Dec 28 18:13:40 PST 2011


>> The way we have handled this in other ports before is to use the "deactivate hack": At pre-activate, you test whether the header already exists, and if so, if a version of that other port is active that is known to have provided the header; if so, you deactivate that port. See examples here:
>> 
>> https://trac.macports.org/ticket/28865#comment:3
> 
> Seems to be just what I'm after, thanks.

If we provided an official way of doing this, we could recover successfully if the user cancels the action while wer're in the middle of deactivating a separate port like this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20111228/53291266/attachment.bin>


More information about the macports-dev mailing list