From owner-freebsd-ports Thu Feb 3 16:28:19 2000 Delivered-To: freebsd-ports@freebsd.org Received: from hub.lovett.com (hub.lovett.com [216.60.121.161]) by builder.freebsd.org (Postfix) with ESMTP id 8565E4E49; Thu, 3 Feb 2000 14:29:42 -0800 (PST) Received: from ade by hub.lovett.com with local (Exim 3.13 #1) id 12GUl6-00045H-00; Thu, 03 Feb 2000 16:29:52 -0600 Date: Thu, 3 Feb 2000 16:29:52 -0600 From: Ade Lovett To: Satoshi - Ports Wraith - Asami Cc: ports@FreeBSD.ORG Subject: Re: gd requiring X (was Re: skip requires X?) Message-ID: <20000203162952.B15558@lovett.com> References: <20000201213431.G79328@jade.chc-chimes.com> <20000201213227.A279@shale.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from asami@FreeBSD.ORG on Thu, Feb 03, 2000 at 10:37:17AM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Feb 03, 2000 at 10:37:17AM -0800, Satoshi - Ports Wraith - Asami wrote: > > Figuring out the chain of dependencies could be messy though. We need > to make sure the user won't end up with a gnome-disabled foo and > gnome-enabled bar when bar depends on foo (or something like that). For packages, it should be a (relatively) straightforward hack such that if we're installing "bar-gnome", we should first try to install "foo-gnome" as a dependent, falling back to plain old "foo" (possibly with a warning) if one isn't found. For ports, bar-gnome simply has a dependency on ${PORTSDIR}/xxx/foo-gnome, which sets WITH_GNOME=YES and includes xxx/foo The big disadvantage I can see, especially for those ports with basic X11, GTK _and_ GNOME personalities is a fairly major increase in the number of ports. It would be useful to have the infrastructure in place for such multiple-personality ports sooner rather than later. We're starting to get a large number of ports that have optional dependencies on one thing or another, all done in a variety of different ways :( -aDe -- Ade Lovett, Austin, TX. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message