From owner-freebsd-current@FreeBSD.ORG Mon Jun 14 22:24:58 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 90AE11065674 for ; Mon, 14 Jun 2010 22:24:58 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4EAB58FC20 for ; Mon, 14 Jun 2010 22:24:57 +0000 (UTC) Received: from mail-yw0-f182.google.com (mail-yw0-f182.google.com [209.85.211.182]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 566CBBF406 for ; Tue, 15 Jun 2010 00:24:56 +0200 (CEST) Received: by ywh12 with SMTP id 12so3192620ywh.14 for ; Mon, 14 Jun 2010 15:24:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.246.135 with SMTP id ly7mr2755655qcb.269.1276554293839; Mon, 14 Jun 2010 15:24:53 -0700 (PDT) Received: by 10.229.247.142 with HTTP; Mon, 14 Jun 2010 15:24:53 -0700 (PDT) In-Reply-To: <86mxuxgwgg.fsf@ds4.des.no> References: <86mxuxgwgg.fsf@ds4.des.no> Date: Tue, 15 Jun 2010 00:24:53 +0200 Message-ID: From: Alexander Best To: =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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: Mon, 14 Jun 2010 22:24:58 -0000 2010/6/14 Dag-Erling Sm=F8rgrav : > Alexander Best writes: >> .if empty(.CURDIR:M/usr/src/*) && empty(.CURDIR:M/usr/obj/*) && >> exists(/usr/local/bin/gcc44) >> CC =3D gcc44 >> CXX =3D g++44 >> CPP =3D cpp44 >> .endif > > What happens when .CURDIR =3D /usr/src? i'm now using .if !target(buildworld) && !target(buildkernel) && exists(/usr/local/bin/gc= c44) CC =3D /usr/local/bin/gcc44 CXX =3D /usr/local/bin/g++44 CPP =3D /usr/local/bin/cpp44 .endif which works quite well. right now i'm trying to solve a different issue which i outlined in my previous posts. would be nice if somebody could try building world with the settings i have in src.conf (see earlier post). cheers. alex > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > --=20 Alexander Best