On 2010-12-12 20:23 , Andrea D'Amore wrote:
> On Fri, Dec 10, 2010 at 6:17 AM, Konrad Hinsen
> <[email protected]> wrote:
>> I am looking for a way to specify in a port file that my package needs to be 
>> recompiled whenever a specific dependency gets upgraded. Is this possible?
> 
> Not that I know of but you can use -R while upgrading your specific
> dependency, this will rebuild as well other ports depending on that
> specific dependency.

Be careful using -R; it doesn't upgrade dependents' dependencies before
upgrading the dependents themselves. Also note that you have to use
--force or the dependents won't be rebuilt unless they happen to be
outdated. You then also probably want to use -n so the dependencies of
the incompatibly changed port aren't also force upgraded.

- Josh
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to