From owner-freebsd-current@FreeBSD.ORG Tue Jun 15 11:11:35 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 9AFB5106566C for ; Tue, 15 Jun 2010 11:11:35 +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 57A998FC0A for ; Tue, 15 Jun 2010 11:11:34 +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 74EDABF411 for ; Tue, 15 Jun 2010 13:11:33 +0200 (CEST) Received: by ywh12 with SMTP id 12so3474700ywh.14 for ; Tue, 15 Jun 2010 04:11:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.181.1 with SMTP id bw1mr2878989qcb.221.1276600291933; Tue, 15 Jun 2010 04:11:31 -0700 (PDT) Received: by 10.229.247.142 with HTTP; Tue, 15 Jun 2010 04:11:31 -0700 (PDT) In-Reply-To: <86d3vspr43.fsf@ds4.des.no> References: <86mxuxgwgg.fsf@ds4.des.no> <86d3vspr43.fsf@ds4.des.no> Date: Tue, 15 Jun 2010 13:11:31 +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: Tue, 15 Jun 2010 11:11:35 -0000 2010/6/15 Dag-Erling Sm=F8rgrav : > Alexander Best writes: >> Dag-Erling Sm=F8rgrav writes: >> > 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 [...] > > 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]. here's the error ouput i got with .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 in my make.conf: [2] [1] http://www.mail-archive.com/freebsd-current@freebsd.org/msg122986.html [2] http://www.mail-archive.com/freebsd-current@freebsd.org/msg122975.html cheers. alex > > DES > -- > Dag-Erling Sm=F8rgrav - des@des.no > --=20 Alexander Best