From owner-freebsd-ports Tue Oct 10 18:47:27 2000 Delivered-To: freebsd-ports@freebsd.org Received: from hurlame.pdl.cs.cmu.edu (HURLAME.PDL.CS.CMU.EDU [128.2.189.78]) by hub.freebsd.org (Postfix) with ESMTP id 0DC9937B66C; Tue, 10 Oct 2000 18:47:25 -0700 (PDT) Received: (from magus@localhost) by hurlame.pdl.cs.cmu.edu (8.11.0/8.11.0) id e9B1lL146831; Tue, 10 Oct 2000 21:47:21 -0400 (EDT) (envelope-from magus) To: Jeremy Lea Cc: ports@FreeBSD.ORG Subject: Re: adding '-gnome' and '-gtk' to package names References: <20001010182014.R30468@shale.csir.co.za> From: Nat Lanza Date: 10 Oct 2000 21:47:21 -0400 In-Reply-To: Jeremy Lea's message of "Tue, 10 Oct 2000 18:20:14 -0700" Message-ID: Lines: 35 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jeremy Lea writes: > No. These are very important. They tell you when optional support has > been added for a port. While I agree that being able to tell which optional support has been added for a port, I think the package's name is entirely the wrong place to store this information. The name's too overloaded -- to list the files installed by the 'foo' port, you need to know exactly which version of the foo package is installed, which revision of the port it is, and now which optional features were built. Sure, you can get that by grepping through the output of pkg_info, but that's an ugly hack. If I want to know what optional features are installed for the port foo, which is cleaner? 'pkg_info foo', or 'pkg_info | grep foo' edited and fed to pkg_info again? Storing arbitrary package metadata in /var/db/pkg is easy, and can be done in a backwards-compatible way; why not do that instead of storing the data in the package's name? > For now - define WITHOUT_ALL in /etc/make.conf and you won't see any > problems. When you say "won't see any problems", what do you mean? Will I get gnome support in sawfish and xmms without the package name changing, or will they be built without any optional features? --nat -- nat lanza --------------------- research programmer, parallel data lab, cmu scs magus@cs.cmu.edu -------------------------------- http://www.cs.cmu.edu/~magus/ there are no whole truths; all truths are half-truths -- alfred north whitehead To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message