Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2009 09:07:24 -0500
From:      Mak Kolybabi <mak@kolybabi.com>
To:        david@vizion2000.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Looking up libraries and header files
Message-ID:  <20091001140724.GA27416@brisbane.nepharia.org>
In-Reply-To: <A2802A2B3EFE4CE4A3E07ECA3D89D58B@sleuth64>
References:  <A2802A2B3EFE4CE4A3E07ECA3D89D58B@sleuth64>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2009-10-01 06:59, david@vizion2000.net wrote:
> What is the simplest way to found out which port installs specific harder or
> library files?

pkg_info has a --which flag that tells you what package a file came from:
% pkg_info --which /usr/local/include/pcre.h
/usr/local/include/pcre.h was installed by package pcre-7.9

--
Matthew Anthony Kolybabi (Mak)
<mak@kolybabi.com>

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091001140724.GA27416>