Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 1998 07:20:01 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Mike Smith <mike@smith.net.au>, Source Code <src@chen.ml.org>
Cc:        committers@FreeBSD.ORG
Subject:   Re: full path of sysctl in bsd.port.mk?
Message-ID:  <19981202072000.A1731@klemm.gtn.com>
In-Reply-To: <199812012353.PAA01127@dingo.cdrom.com>; from Mike Smith on Tue, Dec 01, 1998 at 03:53:35PM -0800
References:  <199812012147.QAA32598@chen.ml.org> <199812012353.PAA01127@dingo.cdrom.com>

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



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