From owner-freebsd-current@FreeBSD.ORG Tue Jun 15 17:12:20 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81B631065677 for ; Tue, 15 Jun 2010 17:12:20 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0476D8FC0C for ; Tue, 15 Jun 2010 17:12:19 +0000 (UTC) Received: (qmail 21426 invoked by uid 399); 15 Jun 2010 17:12:19 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 15 Jun 2010 17:12:19 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C17B472.1020305@FreeBSD.org> Date: Tue, 15 Jun 2010 10:12:18 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Alexander Best References: <86mxuxgwgg.fsf@ds4.des.no> <86d3vspr43.fsf@ds4.des.no> In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , freebsd-current@freebsd.org Subject: Re: two buildworld problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 15 Jun 2010 17:12:20 -0000 On 06/15/10 04:11, Alexander Best wrote: > 2010/6/15 Dag-Erling Smørgrav: >> Alexander Best writes: >>> Dag-Erling Smørgrav writes: >>>> Alexander Best writes: >>>>> .if empty(.CURDIR:M/usr/src/*)&& empty(.CURDIR:M/usr/obj/*)&& >>>>> exists(/usr/local/bin/gcc44) >>>>> CC = gcc44 >>>>> CXX = g++44 >>>>> CPP = cpp44 >>>>> .endif >>>> What happens when .CURDIR = /usr/src? >>> i'm now using [...] >> >> I was trying to show you why what you had didn't work... > > sorry. i didn't mean to affend you. doug barton already pointed out > that what i had in my make.conf beforehand won't work unless /usr/src > and /usr/obj are literal directories in /usr [1]. You're really working hard to make this more complicated than it needs to be. Try this: cd /usr/src make -V .CURDIR Then tell us what it says. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/