Is there an easy way to find out which port loads which library?

A.J. 'Fonz' van Werven fonz at skysmurf.nl
Sun Feb 17 22:25:11 UTC 2013


Chris Rees wrote:

> > Something like this perhaps?
> > # grep libfoobar.so /usr/ports/*/*/pkg-plist
> 
> Most shells won't allow an argument list that long.
> 
> % find /usr/ports -depth 3 -name pkg-plist -exec grep libfoobar.so \{} \;

Fair point. It works for me (although admittedly it does take a while),
but your solution is more elegant.

> Unfortunately neither method works with automatically generated
> plists....

Fair point again. Do you have any idea how many ports use dynamically
generated plists?

AvW

-- 
I'm not completely useless, I can be used as a bad example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130217/142c8759/attachment.sig>


More information about the freebsd-ports mailing list