Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2006 16:30:46 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        ahze@ahze.net
Cc:        cvs-ports@freebsd.org, Ruslan Ermilov <ru@freebsd.org>, cvs-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: cvs commit: ports/devel/ccache Makefile
Message-ID:  <20060111163046.GS97223@submonkey.net>
In-Reply-To: <b2203fed0601110810y6d225490m47a4fa3b2cbe9ba9@mail.gmail.com>
References:  <200601111549.k0BFnQQ2094145@repoman.freebsd.org> <b2203fed0601110810y6d225490m47a4fa3b2cbe9ba9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, Jan 11, 2006 at 11:10:06AM -0500, michael johnson wrote:
> On 1/11/06, Ruslan Ermilov <ru@freebsd.org> 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.

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDxTK2ocfcwTS3JF8RAln5AKChMXgEhXyjWtnMfuHBTDu1rODLnwCfQIsN
RNZO3edLhYe/+SLGjqke9Mw=
=LZDM
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060111163046.GS97223>