Subject: Re: make: Dir_FindFile still broken
To: Christos Zoulas <>
From: Simon J. Gerraty <>
List: tech-toolchain
Date: 11/25/2002 22:06:45
On Mon, 25 Nov 2002 07:38:20 -0500, Christos Zoulas writes:
>On Nov 24, 10:10pm, ("Simon J. Gerraty") wrote:
>-- Subject: Re: make: Dir_FindFile still broken
>If you tried a make build with it, commit it...

So, tools/ and tools/compat/Makefile both play
games with .CURDIR and compat/Makefile at least, won't like .PATH
being re-initialized.  

Which leads to a refinement which is even neater.  The only .PATH
component that we really want to touch when changing .CURDIR is 'cur'
so set that separately, and when .CURDIR is assigned to we now just:

    else if (strcmp(line, ".CURDIR") == 0) {
	 * Somone is being (too?) clever...
	 * Let's pretend they know what they are doing and
	 * re-initialize the 'cur' Path.

Cross build of current-sparc proceeding happily...
Ok, current doesn't build presently (regardless of make version).
Cross build of 1.6-sparc with the same patch to make gets all the way
to the checkflist step then bombs.  Doh! because I have MKKERBEROS=no
in /etc/mk.conf - release builds really should set MAKECONF=/dev/null

Anyway, looks like make works nicely.  Will commit shortly.