From owner-cvs-ports@FreeBSD.ORG Wed Jan 11 20:09:25 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 5B50216A41F; Wed, 11 Jan 2006 20:09:25 +0000 (GMT) (envelope-from ahze@ahze.net) Received: from imf22aec.mail.bellsouth.net (imf22aec.mail.bellsouth.net [205.152.59.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E3F243D62; Wed, 11 Jan 2006 20:09:22 +0000 (GMT) (envelope-from ahze@ahze.net) Received: from ibm65aec.bellsouth.net ([68.209.163.3]) by imf22aec.mail.bellsouth.net with ESMTP id <20060111200919.ZBAP3991.imf22aec.mail.bellsouth.net@ibm65aec.bellsouth.net>; Wed, 11 Jan 2006 15:09:19 -0500 Received: from [192.168.1.5] (really [68.209.163.3]) by ibm65aec.bellsouth.net with ESMTP id <20060111200915.SEVH14903.ibm65aec.bellsouth.net@[192.168.1.5]>; Wed, 11 Jan 2006 15:09:15 -0500 In-Reply-To: <20060111192504.GB36556@ip.net.ua> References: <200601111549.k0BFnQQ2094145@repoman.freebsd.org> <20060111163046.GS97223@submonkey.net> <20060111192504.GB36556@ip.net.ua> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3025A29F-3988-4E24-BD9A-4DB6997827D6@ahze.net> Content-Transfer-Encoding: 7bit From: Michael Johnson Date: Wed, 11 Jan 2006 15:09:08 -0500 To: Ruslan Ermilov X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Mailer: Apple Mail (2.746.2) Cc: cvs-ports@freebsd.org, Ceri Davies , 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: Wed, 11 Jan 2006 20:09:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jan 11, 2006, at 2:25 PM, 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++}"). >>> >>> >>> 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. ^^^^^ >> >> My ccache entry in make.conf looks like: >> >> # ccache >> .if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/cc) >> .if ${.CURDIR:M/usr/src*} >> CC=/usr/local/libexec/ccache/cc >> CXX=/usr/local/libexec/ccache/c++ >> .else >> CC=cc >> CXX=c++ >> .endif >> .else >> CC=/usr/bin/cc >> CXX=/usr/bin/c++ >> .endif >> >> I could probably have used PREFIX too, but that always == /usr/ >> local on >> my machines. >> > 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, > -- > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDxWXnn4uqfTwEb9YRAhNNAKCeoAiziwYxPPPT+eDDtOG9lSFcPQCeOT5W ITWRa2SUC6ZduWKdeIL+dNc= =n2Ch -----END PGP SIGNATURE-----