Date: Thu, 23 Dec 1999 17:27:17 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: "Andrey A. Chernov" <ache@FreeBSD.ORG>, Marcel Moolenaar <marcel@scc.nl>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src Makefile.inc1 Message-ID: <Pine.BSF.4.10.9912231715160.22076-100000@alphplex.bde.org> In-Reply-To: <199912230549.VAA16362@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> :> BUILD_ARCH!= sysctl -n hw.machine_arch > : > :Using absolute paths to utilities in makeworld is always wrong. > I disagree - there are too many path locations floating around during > a buildworld which might contain 'sysctl'. Absolute paths should be These places are broken if they use an absolute path. Most of them have already been fixed. > used across the board to be absolutely sure that the *correct* program > is being run. Otherwise the confusion will only multiply. > > This is a special case for buildworld. Buildworld sets $PATH in an attempt to limit the utilities to what it has built. Using ones specified by absolute paths breaks this. Use of sysctl in buildworld has other problems. It gives values for the host machine, but values for the target are usually what are wanted. Values for the target must be set in another way if target != host, and it's usually simpler to always use that way (maybe with a bunch of sysctls up front). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912231715160.22076-100000>