From owner-freebsd-questions@FreeBSD.ORG Fri May 25 06:24:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF4E6106566C for ; Fri, 25 May 2012 06:24:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8BC708FC15 for ; Fri, 25 May 2012 06:24:30 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx02.qsc.de (Postfix) with ESMTP id A1993278A7; Fri, 25 May 2012 08:24:29 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q4P6OTaR009143; Fri, 25 May 2012 08:24:29 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 25 May 2012 08:24:29 +0200 From: Polytropon To: freebsd@dreamchaser.org Message-Id: <20120525082429.09649741.freebsd@edvax.de> In-Reply-To: <4FBF1EF2.5020400@dreamchaser.org> References: <4FBBF32D.9070505@dreamchaser.org> <20120522234510.a406941d.goksin.akdeniz@gmail.com> <4FBD7BA0.7070502@dreamchaser.org> <4FBEE05A.6000909@dreamchaser.org> <20120525035108.a3af81c1.freebsd@edvax.de> <4FBF1EF2.5020400@dreamchaser.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: automating menu options in ports (and other ports build questions) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 06:24:30 -0000 On Thu, 24 May 2012 23:56:02 -0600, Gary Aitken wrote: > Is there a way to find out what options a package is built with? I don't think so. A package is just an archive containing "truncated subtrees" such as bin/, lib/ or man/ of the compiled programs, ready for install into the /usr/local directory. It also contains data files such as +COMMENT, +CONTENTS, +DESC and +MTREE_DIRS. However, if you have installed from a port, the options you have set will be stored in /var/db/ports//options. I haven't tested yet if a package that _has_ adjustable options (which obviously have already been adjusted) would create such a directory and file, but I assume it does not, as it seems obvious that those are handled by the port building mechanisms (which aren't in use when you pkg_add something). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...