From owner-cvs-all Tue Dec 1 23:21:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA19903 for cvs-all-outgoing; Tue, 1 Dec 1998 23:21:37 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from mail.gtn.com (mail.gtn.com [192.109.159.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA19895 for ; Tue, 1 Dec 1998 23:21:34 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by mail.gtn.com (8.8.6/8.8.6) with UUCP id IAA17188; Wed, 2 Dec 1998 08:15:05 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.9.1/8.9.1) id HAA02021; Wed, 2 Dec 1998 07:20:01 +0100 (CET) (envelope-from andreas) Message-ID: <19981202072000.A1731@klemm.gtn.com> Date: Wed, 2 Dec 1998 07:20:01 +0100 From: Andreas Klemm To: Mike Smith , Source Code Cc: committers@FreeBSD.ORG Subject: Re: full path of sysctl in bsd.port.mk? References: <199812012147.QAA32598@chen.ml.org> <199812012353.PAA01127@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199812012353.PAA01127@dingo.cdrom.com>; from Mike Smith on Tue, Dec 01, 1998 at 03:53:35PM -0800 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Tue, Dec 01, 1998 at 03:53:35PM -0800, Mike Smith wrote: > > Usually I build ports as a regular user (only install them as root), so sysctl > > is not in my path and the build fails with the message, > > > > sysctl: not found > > "/usr/share/mk/bsd.port.mk", line 410: warning: "sysctl -n kern.osreldate" returned non-zero status > > > > Can we specify the full path name of sysctl in bsd.port.mk? > > Sysctl should be in your path; it's a general-purpose enquiry tool. The rest of bsd.port.mk also uses full path names, even programs, that reside under /usr/bin, which is usually alway part of users environment. So I'd say every program with complete path .... especially if it's a sbin program ... -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message