From owner-cvs-all Tue Mar 13 23:34: 6 2001 Delivered-To: cvs-all@freebsd.org Received: from rapier.smartspace.co.za (rapier.smartspace.co.za [66.8.25.34]) by hub.freebsd.org (Postfix) with SMTP id D172637B71A for ; Tue, 13 Mar 2001 23:33:53 -0800 (PST) (envelope-from nbm@rapier.smartspace.co.za) Received: (qmail 88864 invoked by uid 1001); 14 Mar 2001 07:33:20 -0000 Date: Wed, 14 Mar 2001 09:33:20 +0200 From: Neil Blakey-Milner To: mi@aldan.algebra.com Cc: Will Andrews , Alexander Langer , "Andrey A. Chernov" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: revising the package building (Re: cvs commit: ports/graphics/Image Magick Makefile pkg-descr pkg-p list) Message-ID: <20010314093320.A87148@rapier.smartspace.co.za> References: <20010313182036.M61859@ohm.physics.purdue.edu> <200103140052.f2E0qGC13849@misha.privatelabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103140052.f2E0qGC13849@misha.privatelabs.com>; from mi@aldan.algebra.com on Tue, Mar 13, 2001 at 07:52:15PM -0500 Organization: Building Intelligence X-Operating-System: FreeBSD 4.2-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue 2001-03-13 (19:52), mi@aldan.algebra.com wrote: > On 13 Mar, Will Andrews wrote: > = On Tue, Mar 13, 2001 at 05:54:20PM -0500, mi@aldan.algebra.com wrote: > = > A lot of ports have WITH and WITHOUT options. Honoring them all with > = > a separate sub-port would explode the ports tree. Think of the > = > amount of permutations of mod_php, ghostscript, or postgresql will > = > have. Is NO_X -- an exception? May be... I'll do what my mentor > = > tells me to. > = > = Will's principle: If it's not your port, it's not your problem. > > It's nobody's :-( ... > > = I dislike creating new directories just for certain options too, but > = the way bento builds packages severely limits our options. There was a > = huge discussion about this last September (see: "ports options paper" > = I wrote), and according to Satoshi some years ago as well. > > Perhaps, bento's script needs to be modified. I'll even say it is > broken, because it assumes the one-to-one relation between ports and > packages. > > It can have a list of "interesting" options, and will try to produce the > name of each package with and without this options (all permutations). > If a new name is obtained -- the port is rebuilt with that option set > and the new package is created -- from the same port. > > This way, the decision, which options are worthy is centralized, but a > port's maintainer can turn the separate package build on and off by > modifying the package name (typicly -- by altering the prefix and/or > suffix). And there is now need to add another port per option. > > How is that? In OpenBSD it's called 'flavors' (Canadians can't seem to spell either). I recreated the ability with the rest of my portconf work way-back-when, but I couldn't get some needed functionality and review, and I got told that "there's no way we'll ever go back to building more than one package from one port. Never ever!". Doing it isn't hard at all; I still have another few weeks left in my "Gad, can't we do anything in ports, it could be so much cooler" apathy mode, so I'd need to be told "Yes, this is a great idea, and we'll put it in if you write it". Doing the same for my old portconf ideas (which included a perl-only component for standard builds, and a nice gtk front-end for graphics-capable build on request) would be useful too. But this needs to come from someone who can commit to bsd.port.mk. (: Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message