In the last episode (Jan 05), Michael P. Soulier said:
> I'm trying to figure out where ports keep their dependency
> information, and the best way to parse it? On a Linux rpm-based
> system, I can do the following:

The dependencies themselves are stored as @pkgdep lines in the
/var/db/pkg/packagename/+CONTENTS file.  The reverse link is stored in
/var/db/pkg/packagename/+REQUIRED_BY .  You can list the dependencies
with the "pkg_info -r packagename" command, and the packages that
require a package with "pkg_info -R packagename".

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to