From owner-freebsd-stable Thu Apr 10 10:39:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA19691 for stable-outgoing; Thu, 10 Apr 1997 10:39:40 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA19685 for ; Thu, 10 Apr 1997 10:39:36 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id DAA13803; Fri, 11 Apr 1997 03:31:01 +1000 Date: Fri, 11 Apr 1997 03:31:01 +1000 From: Bruce Evans Message-Id: <199704101731.DAA13803@godzilla.zeta.org.au> To: davidn@unique.usn.blaze.net.au, jdp@polstra.com Subject: Re: games hierarchy breaks 2.2.1 build Cc: stable@freebsd.org Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> .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. :-) I fixed most of the completely bogus `if exists()' tests in -current. Thankyou for fixing the others :-). There are lots of unnecessary ${.OBJDIR}'s (${.OBJDIR} is usually a verbose spelling of `.') but this makes it easy to see where ${.CURDIR} is missing. It is also missing in at least libexec, ed and init. Bruce