From owner-freebsd-ports@FreeBSD.ORG Tue Feb 28 11:12:23 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 936BE16A429 for ; Tue, 28 Feb 2006 11:12:23 +0000 (GMT) (envelope-from geoffwa@idkfa.ath.cx) Received: from mail-ihug.icp-qv1-irony3.iinet.net.au (ihug-mail.icp-qv1-irony3.iinet.net.au [203.59.1.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91C9E43DE1 for ; Tue, 28 Feb 2006 11:11:41 +0000 (GMT) (envelope-from geoffwa@idkfa.ath.cx) Received: from 203-214-48-72.dyn.iinet.net.au (HELO idkfa.ath.cx) ([203.214.48.72]) by mail-ihug.icp-qv1-irony3.iinet.net.au with ESMTP; 28 Feb 2006 19:11:16 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.02,151,1139155200"; d="scan'208"; a="678172666:sNHT15749694488" Received: by idkfa.ath.cx (Postfix, from userid 1004) id 9C0B2B839; Tue, 28 Feb 2006 22:10:31 +1100 (EST) Date: Tue, 28 Feb 2006 22:10:31 +1100 From: Geoffrey Giesemann To: freebsd-ports@freebsd.org Message-ID: <20060228111031.GA47555@idkfa.ath.cx> Mail-Followup-To: freebsd-ports@freebsd.org References: <867j7gd8kw.fsf@PECTOPAH.shenton.org> <20060228083210.GI13185@goofy.cultdeadsheep.org> <20060228103912.GA166@pentarou.parodius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060228103912.GA166@pentarou.parodius.com> User-Agent: Mutt/1.5.11 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 11:12:23 -0000 On Tue, Feb 28, 2006 at 02:39:12AM -0800, Jeremy Chadwick wrote: > On Tue, Feb 28, 2006 at 09:32:10AM +0100, Clement Laforet wrote: > > On Mon, Feb 27, 2006 at 12:18:07PM -0500, Chris Shenton wrote: > > > 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. > > > > www/apache2* ports can't be converted to OPTIONS since many build time > > options are not simple defines. > > > Likewise, www/cgiwrap can't be fully converted to OPTIONS for this > reason (i.e. supporting a custom logfile location), and the same for > www/suphp. > > Personally, I've never liked OPTIONS and /var/db/ports. I consider it > "another directory I have to worry about", especially if the port > author changes some of the OPTIONS names between port revisions ("Eh? > Why is this port building with the wrong settings... *30 minutes later* > Oh, hrm..."). I'm also not very fond of curses, especially when it > comes to dealing with it over a serial console that lacks proper > terminal support. > > Additionally, there needs to be dialog --inputbox support for OPTIONS > to become useful. > I prefer OPTIONS since you get a list of all of a port's configurables without having to read the port's Makefile (some Makefiles are neater than others). Another thing OPTIONS could/should do is reprompt for a config in the event that OPTIONS list changes.