From owner-freebsd-ports@FreeBSD.ORG Wed Jun 18 15:26:18 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E005106566B; Wed, 18 Jun 2008 15:26:18 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from istc.kiev.ua (wolf.istc.kiev.ua [193.108.236.1]) by mx1.freebsd.org (Postfix) with ESMTP id BD4278FC1A; Wed, 18 Jun 2008 15:26:17 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from [91.123.146.100] (helo=ravenloft.kiev.ua) by istc.kiev.ua with esmtp (Exim 4.52) id 1K8zY6-0007Kb-Cu; Wed, 18 Jun 2008 18:26:16 +0300 Received: from kozlov by ravenloft.kiev.ua with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1K8zY6-0009tM-9o; Wed, 18 Jun 2008 18:26:14 +0300 Date: Wed, 18 Jun 2008 18:26:14 +0300 From: Alex Kozlov To: Alex Dupre , Edwin Groothuis , ports@freebsd.org, spam@rm-rf.kiev.ua Message-ID: <20080618152614.GA37931@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Alex Kozlov X-Spam-Score: 0.0 (/) X-Spam-Report: Content analysis detailz: (0.0 points, 10.0 required) Cc: Subject: Re: Standardize NO_CCACHE flag and ccache definitions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2008 15:26:18 -0000 On Wed, Jun 18, 2008 at 05:05:42PM +0200, Alex Dupre wrote: > Alex Kozlov ha scritto: > > Don't use it for building ports. Actualy it's not necessary even for > > make buildworld. > > It's necessary if you don't want to use ccache only for 1% of the > buildworld process. I use CCACHE_NOHASH_SIZE_MTIME: if (getenv("CCACHE_HASH_COMPILER")) { hash_file(args->argv[0]); } else if (!getenv("CCACHE_NOHASH_SIZE_MTIME")) { hash_int(st.st_size); hash_int(st.st_mtime); } -- Adios