incremental ports/INDEX builder

Kris Kennaway kris at
Tue Jun 22 04:23:35 PDT 2004

On Tue, Jun 22, 2004 at 11:03:43AM +0200, Oliver Eikemeier wrote:

> >I have a make-based prototype that maintains and updates this
> >dependency information too, but it currently also has a bug (missing
> >newline on one of the 'make describe' outputs).  I'm hoping to work on
> >that again this week so I can post the implementation for comments.
> I have a perl script that does this at
>  <>
> The advantage is that it is independent of changes in /etc/make.conf
> or /usr/local/etc/pkgtools.conf, OPTIONS or OSVERSION which might
> be important. OTOH potentially all packages can change when something
> in MK/bsd.*.mk is changed, so in these caese a complete rebuild is
> necessary.
> I have this into testing for two weeks now, and the heuristics are
> pretty reliable. I tried an approach with patching make(1) too, but
> you won't gain much (there are not many additional files involved),
> and it is too sensitive to changes outside the ports system, makeing
> the generated dependency file non-portable.
> OTOH you handlke border cases better, like setting MASTERDIR twice.
> I'm pretty happy with my approach, and it is quite fast.

At least for my purposes, I need index builds to be 100% accurate 100%
of the time..working in almost all cases isn't good enough.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list