Hi Ryan,

On Jan 10 14:20:21, [email protected] wrote:
> On Jan 10, 2018, at 14:03, Jan Stary wrote:
> > 
> >  $ port installed depends:libressl
> >  None of the specified ports are installed.
> 
> This result means: of the ports that specify a dependency containing the 
> substring "libressl", you don't have any installed. 

OK, what is the right way to ask port(1)

        "which of my currently installed ports
        do depend on the installed libressl"?

Jan

> I have not looked at the code but it seems to me that at port install time, 
> MacPorts records in the registry for that port its list of dependencies. If a 
> dependency is specified in path: style, and maybe also if it is specified in 
> bin: or lib: style, then the dependency that is recorded is the port that is 
> currently providing the specified file. 
> 
> So since libressl was the port providing $prefix/lib/libssl.dylib at the time 
> that you installed e.g. lynx, libressl is recorded as a dependency of lynx in 
> your registry. 


Reply via email to