From owner-freebsd-ports Thu Jun 27 10:52:42 2002 Delivered-To: freebsd-ports@freebsd.org Received: from 12-234-90-219.client.attbi.com (12-234-90-219.client.attbi.com [12.234.90.219]) by hub.freebsd.org (Postfix) with ESMTP id 9F23137B401; Thu, 27 Jun 2002 10:52:36 -0700 (PDT) Received: from master.gorean.org (master.gorean.org [10.0.0.2]) by 12-234-90-219.client.attbi.com (8.12.3/8.12.3) with ESMTP id g5RHqUBu051164; Thu, 27 Jun 2002 10:52:31 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from localhost (doug@localhost) by master.gorean.org (8.12.4/8.12.4/Submit) with ESMTP id g5RHqU4s083856; Thu, 27 Jun 2002 10:52:30 -0700 (PDT) Date: Thu, 27 Jun 2002 10:52:30 -0700 (PDT) From: Doug Barton To: Anton Berezin Cc: "Simon 'corecode' Schubert" , Subject: Re: A suggestion for ports that replace parts of the base In-Reply-To: <20020627112830.GG9131@heechee.tobez.org> Message-ID: <20020627104944.J83790-100000@master.gorean.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 27 Jun 2002, Anton Berezin wrote: > On Thu, Jun 27, 2002 at 01:17:12PM +0200, Simon 'corecode' Schubert wrote: > > On Thu, 27 Jun 2002 03:43:34 -0700 (PDT) Doug Barton wrote: > > > > > I'm very interested in the idea of ports that replace parts of the > > > base system. I think that something like PORT_REPLACES_BASE_FOO might > > > be more useful. This could be put in /etc/make.conf without fear that > > > the user would forget what it means some point down the road. It's a > > > little wordy, but I think it's quite clear. > > I completely agree with the idea! Yay :) > > that's a good idea. this should be incorporated into /usr/src/Makefile > > (or whatever) so that the base system tools that are overwritten by a > > port are never installed (or even built?). > > > > as it seems this PORT_REPLACES_BASE_FOO needs so set a NO_FOO somewhere. > > Or rather, it should produce the same effect as NO_FOO while makeing the > intentions and the reasons clear. This would significantly simplify the > use.perl script used by the perl port. Simon and Anton, that's an idea that hadn't occurred to me, but we could easily add a test to the base makefiles that look for NO_FOO so that effectively PORT_REPLACES_BASE_FOO would imply NO_FOO in the base as well. Excellent. I think we should post this to -arch before proceeding, just to be on the safe side, but I can't think of any reason it wouldn't be ok. Doug -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message