From owner-freebsd-ports@FreeBSD.ORG Tue Feb 28 07:33:06 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D626116A420 for ; Tue, 28 Feb 2006 07:33:06 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35D7443D48 for ; Tue, 28 Feb 2006 07:33:06 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout1.pacific.net.au (Postfix) with ESMTP id 796A3328DE7; Tue, 28 Feb 2006 18:33:04 +1100 (EST) Received: from [61.8.32.20] (ppp2014.dyn.pacific.net.au [61.8.32.20]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k1S7X1qn023771; Tue, 28 Feb 2006 18:33:02 +1100 In-Reply-To: <200602271007.41451.fcash@ocis.net> References: <867j7gd8kw.fsf@PECTOPAH.shenton.org> <790a9fff0602270947y5dd9c98dkd26fc17f641cc3e7@mail.gmail.com> <200602271007.41451.fcash@ocis.net> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Sam Lawrance Date: Tue, 28 Feb 2006 18:33:07 +1100 To: Freddie Cash X-Mailer: Apple Mail (2.746.2) Cc: freebsd-ports@FreeBSD.org Subject: Re: Which ports store/use OPTIONS (/var/db/ports/portname/options)? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 07:33:07 -0000 On 28/02/2006, at 5:07 AM, Freddie Cash wrote: > On Monday 27 February 2006 09:47 am, Scot Hetzel wrote: >> On 2/27/06, Chris Shenton wrote: >>> Some ports store their configuration options into >>> /var/db/ports/portname/options, one example is gaim. > >>> Other ports don't, like www/apache22. This is annoying because I >>> have to remember when I rebuild it, and portupgrade won't get my >>> needed tweaks like WITH_PROXY_MODULES. > >>> For apache22 I've set my needed tweaks in /etc/make.conf but that >>> doesn't seem the best place, especially since the config names >>> are so >>> generic, like WITH_SSL_MODULES. > >>> So why do some ports save these and others don't? Am I not doing >>> something required to get it to save these? > >> There are several reasons why some ports save the options and others >> don't. > >> 1. Port Maintainer hasn't had time to update their port to use >> OPTIONS. > >> 2. Port Maintainer resists the use of OPTIONS because the port will >> then display a dialog, and then require the user to choose which >> options to build. > >> 3. Users of the FreeBSD Ports collection don't like ports that use >> OPTIONS, because a dialog box may appear for a dependancy. > >> The reason for this is some of the users start building a port, >> they then walk away from the system to let the process finish. But >> during the build process, a dependancy shows its OPTIONS dialog, this >> causes the build process to pause until the operator comes back and >> chooses which options the dependancy will build with. This repeats >> for each dependancy that is using OPTIONS. > > This can also be solved by using "make config-recursive" to bring > up all > the OPTIONS screens for all the dependencies, before running "make > install". That way, you configure all the ports that will be > installed > before the build begins, and you can safely walk away during the > build. Or, unless you know you need something special, run with the defaults by using -DBATCH.