-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

da...@vizion2000.net wrote:
> Hi
> 
> What is the simplest way to found out which port installs specific harder or
> library files?
> 
> ATM I do it through a google search on the file name and usually find a
> clue.. but I suspect there ia better mousetrap!! <chuckles>
> 
> Thanks in advance
> David
> 

Hi David,

pkg_which will do what you want:

# pkg_which /usr/local/include/librsync.h
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 289 packages
found (-1 +1) (...). done]
librsync-0.9.7_1
#

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKxLfI0sRouByUApARAoBAAJ4k8Ypua7VjFNPk19CnGr1EKrpz8ACglQQm
UVP8gTXBr15nr6DPt95pT+c=
=+ij6
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to