From owner-freebsd-stable Thu Apr 10 00:13:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA20556 for stable-outgoing; Thu, 10 Apr 1997 00:13:44 -0700 (PDT) Received: from unique.usn.blaze.net.au (unique.usn.blaze.net.au [203.17.53.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA20538 for ; Thu, 10 Apr 1997 00:13:35 -0700 (PDT) Received: (from davidn@localhost) by unique.usn.blaze.net.au (8.8.5/8.8.5) id RAA24270; Thu, 10 Apr 1997 17:08:22 +1000 (EST) Message-ID: <19970410170822.30251@usn.blaze.net.au> Date: Thu, 10 Apr 1997 17:08:22 +1000 From: David Nugent To: John Polstra Cc: mdavis@io.cts.com, stable@freebsd.org Subject: Re: games hierarchy breaks 2.2.1 build References: <199704100240.TAA01263@io.cts.com> <199704100407.VAA21739@austin.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69e In-Reply-To: <199704100407.VAA21739@austin.polstra.com>; from John Polstra on Wed Apr 9 21:07:26 EST 1997 Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed Apr 9 21:07:26 EST 1997, John Polstra writes: > In article <199704100240.TAA01263@io.cts.com>, > Morgan Davis wrote: > > Disregard. I found the problem. > > > > For the edification of others, let me report my mistake... > > [...] > > 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 Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/