Date: Sun, 5 May 1996 17:23:20 +0200 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: Bruce Evans <bde@zeta.org.au> Cc: current@freebsd.org Subject: Re: Files installed to /etc, (was: review request) Message-ID: <199605051523.RAA00974@localhost> In-Reply-To: <199604302021.GAA21324@godzilla.zeta.org.au> References: <199604302021.GAA21324@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans writes: >>3. Wired /usr/share/mk/sys.mk. make -I <dir> 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<dir> change the path to ".:<dir>:/usr/share/mk". (Strange side effect: the current directory may be the 'obj' directory, so "${.OBJDIR}:${.CURDIR}:/usr/share/mk" is more correct.) Wolfram
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605051523.RAA00974>