From owner-freebsd-ports@FreeBSD.ORG Wed Jun 18 13:18:26 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 698431065672 for ; Wed, 18 Jun 2008 13:18:26 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with SMTP id 98BE48FC1F for ; Wed, 18 Jun 2008 13:18:25 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 26552 invoked from network); 18 Jun 2008 13:11:43 -0000 Received: from unknown (HELO ale.andxor.it) (192.168.2.5) by andxor.it with SMTP; 18 Jun 2008 13:11:43 -0000 Message-ID: <4859098F.9000205@FreeBSD.org> Date: Wed, 18 Jun 2008 15:11:43 +0200 From: Alex Dupre User-Agent: Thunderbird 2.0.0.14 (X11/20080608) MIME-Version: 1.0 To: Edwin Groothuis References: <20080618125154.GC90685@k7.mavetju> In-Reply-To: <20080618125154.GC90685@k7.mavetju> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org 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 13:18:26 -0000 Edwin Groothuis ha scritto: > Unfortunately /etc/make.conf is read before the ports Makefile is > read, so this in /etc/make.conf isn't going to work anymore: > > .if !defined(NO_CCACHE) > CC=/usr/local/libexec/ccache/cc > CXX=/usr/local/libexec/ccache/c++ > CPP=/usr/local/libexec/ccache/cpp > CCACHE_DIR=/usr/local/ccache > .endif This is not the recommended way to use ccache. Look at the port's documentation. -- Alex Dupre