From owner-freebsd-stable Thu Apr 10 09:10:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15107 for stable-outgoing; Thu, 10 Apr 1997 09:10:01 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA15100 for ; Thu, 10 Apr 1997 09:09:57 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.5/8.8.5) with ESMTP id JAA01491; Thu, 10 Apr 1997 09:09:38 -0700 (PDT) Message-Id: <199704101609.JAA01491@austin.polstra.com> To: davidn@unique.usn.blaze.net.au Subject: Re: games hierarchy breaks 2.2.1 build Newsgroups: polstra.freebsd.stable 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> Organization: Polstra & Co., Seattle, WA Cc: stable@freebsd.org Date: Thu, 10 Apr 1997 09:09:37 -0700 From: John Polstra Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <19970410170822.30251@usn.blaze.net.au>, David Nugent wrote: > On Wed Apr 9 21:07:26 EST 1997, John Polstra writes: > > In article <199704100240.TAA01263@io.cts.com>, > > Morgan Davis 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