From owner-cvs-all@FreeBSD.ORG Wed Jan 11 19:29:59 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 763B616A428; Wed, 11 Jan 2006 19:29:59 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C93E43D45; Wed, 11 Jan 2006 19:29:55 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k0BJTnDl064502; Wed, 11 Jan 2006 21:29:49 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 33458-01-2; Wed, 11 Jan 2006 21:29:43 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k0BJP8uB064368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Jan 2006 21:25:08 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k0BJP9NR037650; Wed, 11 Jan 2006 21:25:09 +0200 (EET) (envelope-from ru) Date: Wed, 11 Jan 2006 21:25:04 +0200 From: Ruslan Ermilov To: Ceri Davies , ahze@ahze.net, cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org Message-ID: <20060111192504.GB36556@ip.net.ua> References: <200601111549.k0BFnQQ2094145@repoman.freebsd.org> <20060111163046.GS97223@submonkey.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rJwd6BRFiFCcLxzm" Content-Disposition: inline In-Reply-To: <20060111163046.GS97223@submonkey.net> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: Subject: Re: cvs commit: ports/devel/ccache Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 19:29:59 -0000 --rJwd6BRFiFCcLxzm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 be = 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/local = 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). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --rJwd6BRFiFCcLxzm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDxVuQqRfpzJluFF4RAl+zAKCWPK4oFICe26B4QwgXFH5dUfSmXgCePfvr aecQyjBxARAXJ5Lcg3sGyuI= =7hce -----END PGP SIGNATURE----- --rJwd6BRFiFCcLxzm--