From owner-cvs-ports@FreeBSD.ORG Thu Jan 12 09:36:35 2006 Return-Path: X-Original-To: cvs-ports@freebsd.org Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 349EC16A41F; Thu, 12 Jan 2006 09:36:35 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-3-1-cust208.cdif.cable.ntl.com [82.31.78.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9482B43D45; Thu, 12 Jan 2006 09:36:34 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Ewysj-0000iN-DK; Thu, 12 Jan 2006 09:36:33 +0000 Date: Thu, 12 Jan 2006 09:36:33 +0000 From: Ceri Davies To: Ruslan Ermilov Message-ID: <20060112093633.GB28781@submonkey.net> Mail-Followup-To: Ceri Davies , Ruslan Ermilov , cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org References: <200601111549.k0BFnQQ2094145@repoman.freebsd.org> <20060111163046.GS97223@submonkey.net> <20060111192504.GB36556@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline In-Reply-To: <20060111192504.GB36556@ip.net.ua> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.11 Sender: Ceri Davies Cc: cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/devel/ccache Makefile X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 09:36:35 -0000 --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 11, 2006 at 09:25:04PM +0200, Ruslan Ermilov wrote: > On Wed, Jan 11, 2006 at 04:30:46PM +0000, Ceri Davies wrote: > > On Wed, Jan 11, 2006 at 11:10:06AM -0500, michael johnson wrote: > > > On 1/11/06, Ruslan Ermilov wrote: > > > > > > > > ru 2006-01-11 15:49:25 UTC > > > > > > > > FreeBSD ports repository > > > > > > > > Modified files: > > > > devel/ccache Makefile > > > > Log: > > > > Attempt to attract maintainer's attention to a problem a lot of > > > > our users reported when doing "make buildworld" with NOCCACHE > > > > defined (hardcodes CC and CXX to "/usr/bin/{cc|c++}"). > > >=20 > > >=20 > > > Please feel free to change what ever in ccache so it works. I won't b= e doing > > > much with freebsd for the next little bit. > >=20 > > My ccache entry in make.conf looks like: > >=20 > > # ccache > > .if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/cc) > > .if ${.CURDIR:M/usr/src*} > > CC=3D/usr/local/libexec/ccache/cc > > CXX=3D/usr/local/libexec/ccache/c++ > > .else > > CC=3Dcc > > CXX=3Dc++ > > .endif > > .else > > CC=3D/usr/bin/cc > > CXX=3D/usr/bin/c++ > > .endif > >=20 > > I could probably have used PREFIX too, but that always =3D=3D /usr/loca= l on > > my machines. > >=20 > The last ".else" part is the problem when doing "make buildworld" and > NOCCACHE is defined. I have no idea what will break if we just remove > it (i.e., revert rev. 1.2 to this patch). Oh, my bad. Turns out I don't have ccache installed so the whole thing is getting ignored. Man, I was having a bad day yesterday. Let's see what else I've broken... Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDxiMhocfcwTS3JF8RAsAxAJsE8ElCuHrjpTS1v4MtA8LVPexVpQCgkqAF 5WhoOMJ/kFdjRLMpaYAQMxY= =guQA -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8--