From owner-freebsd-stable Wed Aug 5 09:34:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13180 for freebsd-stable-outgoing; Wed, 5 Aug 1998 09:34:12 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA13171 for ; Wed, 5 Aug 1998 09:34:08 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id QAA05542; Wed, 5 Aug 1998 16:33:49 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA23795; Wed, 5 Aug 1998 18:33:48 +0200 (MET DST) Message-ID: <19980805183348.51292@follo.net> Date: Wed, 5 Aug 1998 18:33:48 +0200 From: Eivind Eklund To: Matt Behrens , stable@FreeBSD.ORG Subject: Re: Preserving a program across make world References: <35C85F9D.94DEFB3D@iserv.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <35C85F9D.94DEFB3D@iserv.net>; from Matt Behrens on Wed, Aug 05, 1998 at 09:35:25AM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 05, 1998 at 09:35:25AM -0400, Matt Behrens wrote: > Sorry if this has been asked before, but I searched for quite some time > and didn't find anything. > > How can we preserve a program across make worlds in -stable? For > example, I'm using a newer ppp and don't want it overwritten. I had > also at one point wanted to use GNU ls instead of BSD for some > compatibility with a ill-behaved FTP client. > > Is there a way? Only by modifying the source tree. In -current, you can do it using SUBDIR_CHANGE - it works like this (from bsd.subdir.mk): # SUBDIR_CHANGE A directory-tree that contains overrides for # corresponding build subdirs. # Each override is a file containing one subdirname per line: # 'subdirlist' is a pure override # 'subdirdrop' drops directories from the build # 'subdiradd' adds directories to the build I have not tested this through 'make buildworld', only by doing "normal builds". It is likely some changes to src/Makefile will be needed to be able to control a 'buildworld' - patches are welcome. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message