From owner-freebsd-current Sun May 5 09:42:43 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA26015 for current-outgoing; Sun, 5 May 1996 09:42:43 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA26010 for ; Sun, 5 May 1996 09:42:41 -0700 (PDT) Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id SAA15773; Sun, 5 May 1996 18:36:26 +0200 Received: (from wosch@localhost) by localhost (8.6.12/8.6.12) id RAA00974; Sun, 5 May 1996 17:23:20 +0200 Date: Sun, 5 May 1996 17:23:20 +0200 From: Wolfram Schneider Message-Id: <199605051523.RAA00974@localhost> To: Bruce Evans Cc: current@freebsd.org Subject: Re: Files installed to /etc, (was: review request) In-Reply-To: <199604302021.GAA21324@godzilla.zeta.org.au> References: <199604302021.GAA21324@godzilla.zeta.org.au> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans writes: >>3. Wired /usr/share/mk/sys.mk. make -I do not change the >> directory for sys.mk. We need this for ``make DESTDIR=/foo world'' >> so /foo/usr/share/mk/sys.mk would be used. > >>Does someone test the following patch? >>... >>-#define _PATH_DEFSYSMK "/usr/share/mk/sys.mk" >>+#define _PATH_DEFSYSMK "sys.mk" >> #define _PATH_DEFSYSPATH "/usr/share/mk" > >I thought that you said this was only a temporary fix when we talked >about it in private mail. I sent it also to -bugs. >What gets used if sys.mk is in "." and in >paths specified by -I? I think ./sys/mk should only be used if "-I." >is used. -I. is a no-op. The current directory is always on top of include path. The default include path (in shell notation) is ".:/usr/share/mk". -I change the path to ".::/usr/share/mk". (Strange side effect: the current directory may be the 'obj' directory, so "${.OBJDIR}:${.CURDIR}:/usr/share/mk" is more correct.) Wolfram