From owner-freebsd-current@FreeBSD.ORG Sat Aug 28 17:00:46 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 D500516A4D0 for ; Sat, 28 Aug 2004 17:00:46 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-172-255.dclient.hispeed.ch [80.219.172.255]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E71743D54 for ; Sat, 28 Aug 2004 17:00:30 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:acff:0:220:afff:fed4:dbcb]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i7SH0QL00993 verified NO) for ; Sat, 28 Aug 2004 19:00:28 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i7SH0Q700992; Sat, 28 Aug 2004 19:00:26 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Sat, 28 Aug 2004 19:00:26 +0200 (CEST) Message-Id: <200408281700.i7SH0Q700992@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: current@freebsd.org X-Mailman-Approved-At: Sun, 29 Aug 2004 11:51:58 +0000 Subject: 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: Sat, 28 Aug 2004 17:00:47 -0000 [grrr, last IP was blacklisted; try the list again] Hi. You're going to hate me by the end of this message, in the unlikely chance that you don't hate me already. 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. 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 ?= foo at the present time under 4.x ... I've tried the following for fun and laughs, and it actually seems to pick up the right values for M_K__BJD_RPR_F_X (I'm sure nobody wants to read the uncensored version of that for weeks or months to come), allowing my build to continue: _MAKEOBJDIRPREFIX!= env -i PATH=${PATH} __MAKE_CONF="${__MAKE_CONF}" \ MAKEFLAGS="${.MAKEFLAGS}" ${MAKE} \ -f /dev/null -V MAKEOBJDIRPREFIX dummy .if !empty(_MAKEOBJDIRPREFIX) May I request that something done properly (unlike the above which is certainly no more than an ugly hack) be applied in order to check the correct file for crossbuilds or other cases where __MAKE_CONF is specified instead? Sorry if this has been done already, my last time online to nab source was late UTC 22.Aug. I fully understand that you hate me now. thanks barry bouwsma (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)