Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2004 13:45:48 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Harti Brandt <harti@FreeBSD.org>
Cc:        "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: cvs commit: src/usr.bin/make Makefile main.c nonints.h var.c
Message-ID:  <200408091345.48263.jhb@FreeBSD.org>
In-Reply-To: <20040809174540.U32590@beagle.kn.op.dlr.de>
References:  <7mllgolwsk.wl@black.imgsrc.co.jp> <20040809.094110.04712576.imp@bsdimp.com> <20040809174540.U32590@beagle.kn.op.dlr.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 09 August 2004 11:54 am, Harti Brandt wrote:
> On Mon, 9 Aug 2004, M. Warner Losh wrote:
>
> MWL>In message: <20040809.092824.11587387.imp@bsdimp.com>
> MWL>: The current man page is stunningly vague about this.  It says that it
> MWL>: respects these environment variables, but it doesn't say they have to
> MWL>: be set in the enviornment to the exclusion of setting them on the
> MWL>: command line.
> MWL>
> MWL>So either we can make it work, or document that the variables listed
> MWL>in the environment section must be set as environment variables only.
>
> There is nothing to be made work. Both variables are intended to be used
> as environment variables. That they happend to work from the command line
> was a side effect of make putting its variables into the environment.
> Does the following clarify things enough?

Doesn't change the fact that it can break existing scripts.  I typically do

% worldloop -j 64 MAKEOBJDIRPREFIX=/usr/obj.test

on my test boxes (worldloop is a script that does a 'make buildworld "$@"' in 
a loop).  Can't be fixed I guess.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408091345.48263.jhb>