On 17 Feb 2013 17:31, "A.J. 'Fonz' van Werven" <f...@skysmurf.nl> wrote: > > Bernard Higonnet wrote: > > > Is there a simple, direct, complete, and unequivocal way to find out > > which port(s) install which libraries? > > 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 \{} \; has been shown to be faster than hacking around arg list limits with echo | xargs. Unfortunately neither method works with automatically generated plists.... Chris _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"