Subject: Re: avoiding unnecessary recompilation ...
To: Malcolm Herbert <mjch@mjch.net>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 01/15/2006 08:45:20
On Sun, 15 Jan 2006, Malcolm Herbert wrote:

> Speaking of perl, it seems that perl and things that depend on it are
> recompiled in the bulk build area even if there are no revision changes
> and a compiled package of the same revision is available ... is there
> any way to prevent this?

"make replace", for one.  It didn't work on perl5 in the days before the
binary compatibility overhaul, but it now does.

As far as bulk builds go, there is the switch USE_BULK_TIMESTAMPS=no, which
turns off recompiling for only file timestamp changes (binpkg or package-dir
file times).  Be aware that you need to have more trust in pkgsrc's
commitment to binary compatibility wrt buildlink3 if you use this setting.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>