installed ports dependency tree?

Doug Barton dougb at
Thu Feb 5 12:39:59 PST 2009

Scot Hetzel wrote:
> On Sun, Feb 1, 2009 at 9:48 PM, Robert Huff <roberthuff at> wrote:
>>        Suppose I have installed ports A..Z.  Some of these are
>> standakone; some depend on others on the list; others depend on
>> installed ports not on the list.
>>        Is there a port that will produce a unified and ordered
>> dependency list, such that upgrading/reinstalling in that order will
>> avoid multiple rebuilds?  I though portupgrade could to this, but
>> apparently not.
> Portmaster sets PM_UPGRADE_DONE_FLAG in /var/db/pkg/<pkgname> for all
> ports that it has finished upgrading to prevent multiple rebuilds of a
> port during the upgrade run.

That's not strictly accurate. During a given run portmaster keeps an
internal list of what ports are up to date in a variable. The files
you mentioned are generated during the use of the -r or the -f options
so that if you have to interrupt that process you can go back with the
-R option and avoid redoing work you've already done.




    This .signature sanitized for your protection

More information about the freebsd-ports mailing list