Date: Tue, 26 Aug 1997 14:45:02 +0200 (MET DST) From: J Wunsch <j@ida.interface-business.de> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: misc/4395: if exists(secure) in /usr/src/Makefile is bogus Message-ID: <199708261245.OAA27607@ida.interface-business.de> Resent-Message-ID: <199708261250.FAA08501@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708261245.OAA27607>
