From owner-cvs-all Fri Dec 8 12:36:36 2000 From owner-cvs-all@FreeBSD.ORG Fri Dec 8 12:36:33 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B0D6937B400; Fri, 8 Dec 2000 12:36:33 -0800 (PST) Received: (from jasone@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB8KaXc00683; Fri, 8 Dec 2000 12:36:33 -0800 (PST) (envelope-from jasone) Message-Id: <200012082036.eB8KaXc00683@freefall.freebsd.org> From: Jason Evans Date: Fri, 8 Dec 2000 12:36:33 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/mk bsd.kmod.mk src/sys/conf kmod.mk X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jasone 2000/12/08 12:36:33 PST Modified files: share/mk bsd.kmod.mk sys/conf kmod.mk Log: Do not check for existence of ${_dir}/kern/ , because for modules that set .PATH to ${.CURDIR}/[...]/kern , the "exists" expression will fail for the form exists(${.CURDIR}/[...]/kern/). This appears to be happening because make is searching for the argument to "exists" by using .PATH rather than a relative search, because .PATH and the argument match at the beginning. Additionally, make appears to consider a path that starts with ${.CURDIR} as relative, even though it expands to an absolute path. The reason that most people aren't seeing this problem is that the absolute paths of /usr/src/sys and /sys are also searched, so as long as the kernel source can be found in at least one of those places, no problems surface. This problem was inadvertently introduced on 1 December 2000, with the addition of the sysvipc modules. Revision Changes Path 1.86 +3 -3 src/share/mk/bsd.kmod.mk 1.86 +2 -2 src/sys/conf/kmod.mk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message