From owner-cvs-all Wed Dec 22 22:27:51 1999 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 3A55314CE3; Wed, 22 Dec 1999 22:27:46 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (beefcake.zeta.org.au [203.26.10.12]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id RAA22767; Thu, 23 Dec 1999 17:27:36 +1100 Date: Thu, 23 Dec 1999 17:27:17 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Matthew Dillon Cc: "Andrey A. Chernov" , Marcel Moolenaar , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src Makefile.inc1 In-Reply-To: <199912230549.VAA16362@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > :> 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