querying the registry for reverse dependencies

Clemens Lang cal at macports.org
Tue Nov 1 10:11:25 PDT 2016


Hi,

On Tue, Nov 01, 2016 at 03:10:30PM +0100, René J.V. Bertin wrote:
> A variant of my earlier question: is there a magic formula to query
> the registry which files (and/or ports) depend on a given binary file?
> IOW, an elegant alternative to something like

No, there's no such thing in the registry. The registry only has
per-port information, so the best you can do is a combination of 'port
provides' and 'port dependents'.

> %> sudo bzip2 -v foo
> %> sudo port -v rev-upgrade
> %> sudo bunzip2 foo.bz2

I don't understand how bzip2 and port rev-upgrade relate.

-- 
Clemens


More information about the macports-dev mailing list