From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 14:25:18 2008 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 583CB106566C for ; Fri, 1 Aug 2008 14:25:18 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id E4A0D8FC2D for ; Fri, 1 Aug 2008 14:25:17 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 4182 invoked by uid 0); 1 Aug 2008 14:25:16 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp2.knology.net with SMTP; 1 Aug 2008 14:25:16 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id CD3F528429; Fri, 1 Aug 2008 09:25:15 -0500 (CDT) Date: Fri, 1 Aug 2008 09:25:15 -0500 From: David Kelly To: David Gurvich Message-ID: <20080801142515.GA19107@Grumpy.DynDNS.org> References: <20080801101549.54603d85@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080801101549.54603d85@verizon.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Find what options a precompiled package uses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD-Questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2008 14:25:18 -0000 On Fri, Aug 01, 2008 at 10:15:49AM -0400, David Gurvich wrote: > How does one find the options that a particular package was built with, > without installing the package? I don't see any such options in > pkg_info and wondered if there were some other tool. You could go to the port in /usr/ports/ and "make patch" which will do everything right up to building the port. Then browse the sources to see what has been selected. Sometimes its easier to see the options selected by watching the port compile. A simple "make" will compile the port but not install it. A potential problem is that if a build dependency is missing it will try to build and install that first. A build dependency is something needed to build the port but not needed to run the port. Precompiled ports bypass the need for build dependencies. Or you could just study the Makefile and supporting files in /usr/ports/ to see what the defaults are for your particular precompiled port. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.