Handling the movement of a header file between packages

Adam Mercer ram at macports.org
Wed Dec 28 15:12:58 PST 2011


On Wed, Dec 28, 2011 at 22:49, Ryan Schmidt <ryandesign at macports.org> wrote:

> 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.

Cheers

Adam


More information about the macports-dev mailing list