[CFT] [bsd.port.mk] ports ccache build support

RW rwmaillists at googlemail.com
Sat Aug 4 22:21:07 UTC 2012

On Sat, 04 Aug 2012 09:42:39 -0500
Bryan Drewery wrote:

> > But if you've read the ccache documentation you probably already
> > have that directory in PATH anyway. Does this patch provide a
> > significant advantage?
> That requires needless customization. The purpose here is easy, safe
> and native support.
> The included ccache-howto-freebsd.txt with devel/ccache is quite long
> for something that is straight forward.

I think that's an exaggeration. I'd say it's quite short and most of it
is easily skipped over.

> > Having a default ccache directory in the makefile that's different
> > from the default documented in the ccache man page seems needlessly
> > confusing to me.
> The default being $HOME/.ccache makes even less sense for port
> building.

No, but it has the merit of being documented as being the default in the
first place one is likely to look. 

And since large root file-systems seem to be increasingly
popular, /root/.ccache may seem reasonable, and people may run cache -M
on that.

More information about the freebsd-ports mailing list