Subject: Re: build.sh failure?
To: None <tech-userlevel@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 04/27/2002 00:39:55
>> cc  -O -o nbmake *.o
>> BSDOBJDIR /usr/obj does not exist, bailing...

> BSDSRCDIR defaults to /usr/src.  If that path matches the front of
> $PWD, you get the Magical BSDOBJDIR handling (and you have to create
> /usr/obj my hand as a sanity check to make sure you really want this
> type of objdir handling).

> This has been around for ~years, so unfortunately, its functionality
> cannot simply be yanked.

Does _all_ its functionality have to be preserved?  Would it be
acceptable to have the "sanity check", when it fails, disable BSDOBJDIR
handling (as if `pwd` didn't begin with /usr/src) rather than bombing
the build?

Also, it's functionality may be yankable for the system in question;
how would I go about doing that?  Or is that too complicated to explain
simply?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B