From owner-freebsd-bugs Tue Apr 23 10:16:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA19349 for bugs-outgoing; Tue, 23 Apr 1996 10:16:06 -0700 (PDT) Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA19280 for ; Tue, 23 Apr 1996 10:16:02 -0700 (PDT) Received: from ole.cs.tu-berlin.de (wosch@ole.cs.tu-berlin.de [130.149.28.1]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id TAA27138; Tue, 23 Apr 1996 19:15:22 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id QAA02173; Tue, 23 Apr 1996 16:19:36 +0200 Date: Tue, 23 Apr 1996 16:19:36 +0200 From: Wolfram Schneider Message-Id: <199604231419.QAA02173@campa.panke.de> To: Bruce Evans CC: bugs@freebsd.org Subject: make DESTDIR=/tmp/foo world (Re: What do folks think of the following patch?) In-Reply-To: <199604230943.TAA13260@godzilla.zeta.org.au> References: <199604230943.TAA13260@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-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans writes: >>BTW, `make DESTDIR=/tmp/foo world' install bsd.*.mk files in >>/tmp/foo/usr/share/mk but use the old (and maybe wrong) *.mk files >>from /usr/share/mk. > >Could this be fixed using -I? Not completly. -I do not change the directory for sys.mk. sys.mk is wired -- /usr/share/mk/sys.mk or not (-r). I think this is a bug. Short fix: --- 1.1 1996/04/23 13:30:23 +++ pathnames.h 1996/04/23 13:56:42 @@ -36,5 +36,5 @@ #define _PATH_OBJDIR "obj" #define _PATH_DEFSHELLDIR "/bin" -#define _PATH_DEFSYSMK "/usr/share/mk/sys.mk" +#define _PATH_DEFSYSMK "sys.mk" #define _PATH_DEFSYSPATH "/usr/share/mk" >I guess something like gcc's -nostdinc >-I- is required as well (-r for make doesn't work suitably according >to the man page). > >Bruce