From owner-freebsd-bugs Tue Aug 26 05:50:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA08510 for bugs-outgoing; Tue, 26 Aug 1997 05:50:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA08501; Tue, 26 Aug 1997 05:50:01 -0700 (PDT) Resent-Date: Tue, 26 Aug 1997 05:50:01 -0700 (PDT) Resent-Message-Id: <199708261250.FAA08501@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, j@ida.interface-business.de Received: from innocence.interface-business.de (innocence.interface-business.de [193.101.57.202]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA08280 for ; Tue, 26 Aug 1997 05:45:46 -0700 (PDT) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.203]) by innocence.interface-business.de (8.6.11/8.6.9) with SMTP id OAA13211 for ; Tue, 26 Aug 1997 14:45:31 +0200 Received: (from j@localhost) by ida.interface-business.de (8.8.7/8.7.3) id OAA27607; Tue, 26 Aug 1997 14:45:02 +0200 (MET DST) Message-Id: <199708261245.OAA27607@ida.interface-business.de> Date: Tue, 26 Aug 1997 14:45:02 +0200 (MET DST) From: J Wunsch Reply-To: j@ida.interface-business.de To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/4395: if exists(secure) in /usr/src/Makefile is bogus Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4395 >Category: misc >Synopsis: if exists(secure) in /usr/src/Makefile is bogus >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 26 05:50:00 PDT 1997 >Last-Modified: >Originator: J Wunsch >Organization: interface business GmbH >Release: FreeBSD 2.2-STABLE i386 >Environment: any FreeBSD sourcetree >Description: /usr/src/Makefile, and a number of other Makefiles contain constructs of the form: .if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE) SUBDIR+= secure .endif If /usr/obj/secure does exist, but /usr/src/secure doesn't, the above construct wrongly causes descending into the `secure' subdirectory. >How-To-Repeat: See above. >Fix: .if exists(${.CURDIR}/secure) ... >Audit-Trail: >Unformatted: