Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 1996 16:19:36 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        bugs@freebsd.org
Subject:   make DESTDIR=/tmp/foo world (Re: What do folks think of the following patch?)
Message-ID:  <199604231419.QAA02173@campa.panke.de>
In-Reply-To: <199604230943.TAA13260@godzilla.zeta.org.au>
References:  <199604230943.TAA13260@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604231419.QAA02173>