Date: Thu, 10 Apr 1997 09:09:37 -0700 From: John Polstra <jdp@polstra.com> To: davidn@unique.usn.blaze.net.au Cc: stable@freebsd.org Subject: Re: games hierarchy breaks 2.2.1 build Message-ID: <199704101609.JAA01491@austin.polstra.com> In-Reply-To: <19970410170822.30251@usn.blaze.net.au> References: <199704100240.TAA01263@io.cts.com> <199704100407.VAA21739@austin.polstra.com> <19970410170822.30251@usn.blaze.net.au>
index | next in thread | previous in thread | raw e-mail
In article <19970410170822.30251@usn.blaze.net.au>,
David Nugent <davidn@unique.usn.blaze.net.au> wrote:
> On Wed Apr 9 21:07:26 EST 1997, John Polstra writes:
> > In article <199704100240.TAA01263@io.cts.com>,
> > Morgan Davis <mdavis@io.cts.com> wrote:
> > > Although /usr/src/games did not exist, it was the none-too-obvious
> > > /usr/obj/usr/src/games that did which caused the problem.
> >
> > Really?! That seems like completely bogus behavior on the part of "make".
> > Could you please use "send-pr" to file a bug report?
>
> Bogus or not, it makes sense in terms of how make handles
> the object directory and is consitent with how it behaves
> with all files relative to the "current" directory.
>
> .if exists(games) && !defined(NOGAMES)
> SUBDIR+= games
> .endif
>
> This test (and others of a similar type) should be changed to:
>
> .if exists(${.CURDIR}/games) && !defined(NOGAMES)
> SUBDIR+= games
> .endif
Good point. I retract my bogosity claim. :-)
--
John Polstra jdp@polstra.com
John D. Polstra & Co., Inc. Seattle, Washington USA
"Self-knowledge is always bad news." -- John Barth
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704101609.JAA01491>
