From owner-freebsd-questions@FreeBSD.ORG Thu Oct 1 14:06:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B78FE1065672 for ; Thu, 1 Oct 2009 14:06:58 +0000 (UTC) (envelope-from mak@kolybabi.com) Received: from mail.nepharia.org (mail.nepharia.org [209.44.104.71]) by mx1.freebsd.org (Postfix) with ESMTP id 933238FC26 for ; Thu, 1 Oct 2009 14:06:58 +0000 (UTC) Received: from brisbane.nepharia.org (wnpgmb0805w-ad05-96-205.dynamic.mts.net [74.216.96.205]) by mail.nepharia.org (Postfix) with ESMTPSA id 653B53F203A; Thu, 1 Oct 2009 09:06:57 -0500 (CDT) Received: by brisbane.nepharia.org (nbSMTP-1.00) for uid 1000 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) mak@kolybabi.com; Thu, 1 Oct 2009 09:07:26 -0500 (CDT) Date: Thu, 1 Oct 2009 09:07:24 -0500 From: Mak Kolybabi To: david@vizion2000.net Message-ID: <20091001140724.GA27416@brisbane.nepharia.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Looking up libraries and header files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 14:06:58 -0000 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) () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions