From owner-freebsd-questions@FreeBSD.ORG Thu Oct 1 14:53:42 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 E80921065676 for ; Thu, 1 Oct 2009 14:53:42 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id A56398FC14 for ; Thu, 1 Oct 2009 14:53:42 +0000 (UTC) Received: from sleuth64 (unknown [62.49.197.51]) by dns1.vizion2000.net (Postfix) with ESMTP id D12DF34D446; Thu, 1 Oct 2009 15:53:38 +0100 (BST) From: "David Southwell" To: "'David Southwell'" , "'Mak Kolybabi'" References: <20091001140724.GA27416@brisbane.nepharia.org> <4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64> Date: Thu, 1 Oct 2009 07:53:14 -0700 Message-ID: <529486569750436B97C259AC2D363D7F@sleuth64> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpCoIzsk9UkE2kQQnSiRTHbkQR9lgABdzXQAAAVyHA= In-Reply-To: <4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 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:53:43 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > David Southwell > Sent: 01 October 2009 07:50 > To: 'Mak Kolybabi' > Cc: freebsd-questions@freebsd.org > Subject: RE: Looking up libraries and header files > > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > Mak Kolybabi > > Sent: 01 October 2009 07:07 > > To: david@vizion2000.net > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Looking up libraries and header files > > > > 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) > > > Thanks Mat > > Now I have two solutions for the price of one question > > Brill!! OK One problem How about ports that are not installed? Is there another route that will deal with stuff not on the system? David >