Date: Tue, 1 Dec 1998 20:02:33 -0800 (PST) From: asami@FreeBSD.ORG (Satoshi Asami) To: src@chen.ml.org Cc: committers@FreeBSD.ORG Subject: Re: full path of sysctl in bsd.port.mk? Message-ID: <199812020402.UAA16145@silvia.hip.berkeley.edu> In-Reply-To: <199812012147.QAA32598@chen.ml.org> (message from Source Code on Tue, 1 Dec 1998 16:47:01 -0500 (EST))
next in thread | previous in thread | raw e-mail | index | archive | help
* From: Source Code <src@chen.ml.org> You changed your name? :) * 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 The only reason it's not using the full path is because it can be in different places (/sbin or /usr/sbin) depending on the version of the OS and I didn't want to put too many .if checks in bsd.port.mk. But I recently discovered that running /usr/sbin/sysctl in an ELF-ized system without a.out libs could cause pretty nasty errors too. I'll put in the check and call it with the full pathname in the next bsd.port.mk commit. Satoshi 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?199812020402.UAA16145>