From owner-freebsd-audit Sun Jan 6 14:30:22 2002 Delivered-To: freebsd-audit@freebsd.org Received: from straylight.ringlet.net (discworld.nanolink.com [217.75.135.248]) by hub.freebsd.org (Postfix) with SMTP id 88FF337B41B for ; Sun, 6 Jan 2002 14:30:15 -0800 (PST) Received: (qmail 5661 invoked by uid 1000); 6 Jan 2002 21:30:05 -0000 Date: Sun, 6 Jan 2002 23:30:05 +0200 From: Peter Pentchev To: Mark Valentine Cc: arch@freebsd.org, audit@freebsd.org Subject: Re: make(1) enhancement - an 'environment processor' option Message-ID: <20020106233005.J314@straylight.oblivion.bg> Mail-Followup-To: Mark Valentine , arch@freebsd.org, audit@freebsd.org References: <200201062226.g06MQ0781624@dotar-sojat.thuvia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200201062226.g06MQ0781624@dotar-sojat.thuvia.org>; from mark@thuvia.demon.co.uk on Sun, Jan 06, 2002 at 10:26:00PM +0000 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 06, 2002 at 10:26:00PM +0000, Mark Valentine wrote: > > From: roam@ringlet.net (Peter Pentchev) > > Date: Sun 6 Jan, 2002 > > Subject: Re: make(1) enhancement - an 'environment processor' option > > > No feedback on this proposed change to make(1)? :) > > It looks like it should be easy enough to provide this functionality in > the build system (e.g. bsd.port.mk). But would it really? I had this idea initially, before I wrote penv(1) as a standalone preprocessor, and believe me, I tried - but it quickly got ugly, when things came to trusting or checking the output of a program to determine which variables should be unset and which ones should be set, including setting variables to values containing whitespace :) > Can you suggest any other uses for this feature besides supporting penv(1)? Not for the moment, no; but supporting penv(1) is nice, and it may be used outside of the ports tree, too. > make(1) already contains too many hacks for the FreeBSD build system. This particular change should be easy to add to GNU make, too; this is on my to-do list for the next couple of days. G'luck, Peter -- This sentence every third, but it still comprehensible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message