From owner-freebsd-current@FreeBSD.ORG Sun Aug 29 14:34:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A01D16A4D0 for ; Sun, 29 Aug 2004 14:34:05 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56F4943D45 for ; Sun, 29 Aug 2004 14:34:04 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7TEXwCD045521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Aug 2004 17:33:59 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7TEY4Mt023466; Sun, 29 Aug 2004 17:34:04 +0300 (EEST) (envelope-from ru) Date: Sun, 29 Aug 2004 17:34:03 +0300 From: Ruslan Ermilov To: Barry Bouwsma Message-ID: <20040829143403.GE23120@ip.net.ua> References: <200408281700.i7SH0Q700992@Mail.NOSPAM.DynDNS.dK> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tmoQ0UElFV5VgXgH" Content-Disposition: inline In-Reply-To: <200408281700.i7SH0Q700992@Mail.NOSPAM.DynDNS.dK> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: current@FreeBSD.org Subject: Re: M*K**BJD*RPR*F*X and make.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 14:34:05 -0000 --tmoQ0UElFV5VgXgH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 28, 2004 at 07:00:26PM +0200, Barry Bouwsma wrote: > Hi. You're going to hate me by the end of this message, > in the unlikely chance that you don't hate me already. >=20 > If I'm reading the failure of my attempted crossbuild of > FreeBSD5 on my FBSD-4 machine, the check in Makefile.inc1 > is not looking in the right __MAKE_CONF, which I've tried > specifying both as environment and make-option to cover > all bases. >=20 > Instead, it's looking in /etc/make.conf, which as far as I know > is never used during my crossbuild (I hope), and where as far as > I know it's still not expressly forbidden to use M*K**BJetc ?=3D foo > at the present time under 4.x ... >=20 No, you misinterpreted the check (please see below). [...] > (to rehash a previous thread, here's another reason I liked to be > able to specify M*K**BJD*RPR*F*X in a make.conf, is in order to > automagically get a different obj directory for each build, by > evaluating `uname' and `date' and whatnot, which now requires an > each-time invocation as environment, unlike the set-and-forget in > a suitable make.conf. no, I haven't tried my hand at suitably > replacing this (mis)feature in an acceptable way yet) >=20 Repeat ten times today: MAKEOBJDIRPREFIX is an environment variable, and works properly only if set as environment variable, not as a command-line variable or a global variable (in /etc/make.conf). This is now documented in the following sources: - make(1) manpage - make.conf(5) manpage - /usr/share/mk/bsd.obj.mk - anti-footshooting measure in /usr/src/Makefile Rumors are that this is probably now the best documented feature of BSD make(1). ;) [...] > I fully understand that you hate me now. >=20 I will hate you if, after reading these, you still disagree. ;) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --tmoQ0UElFV5VgXgH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBMelbqRfpzJluFF4RAtmDAJ9c92yMfsz2u0oodmH8KtgV3uawVgCffbNm KsJ3YxFufB7laZbbamfev7k= =gHMh -----END PGP SIGNATURE----- --tmoQ0UElFV5VgXgH--