HEADSUP: INDEX[-5] files were removed from CVS.

Thomas-Martin Seck tmseck-lists at netcologne.de
Sat Nov 13 20:20:27 GMT 2004


* Michael Nottebrock (michaelnottebrock at gmx.net):

> Thomas-Martin Seck wrote:
> 
> 
> >Well, it just tries to protect you against clobbering your working
> >index file in case the index build fails.
> >
> >portsdb calls 'make index' with INDEXFILE set to $PORTSDIR/INDEX.tmp and
> >copies this temporary index file over when 'make index' was successful.
> 
> Yes, but it doesn't handle INDEXFILE being redefined (for example in 
> make.conf).

That's what the PORTS_INDEX environment variable is for. If your ruby
skills are good enough, you can probably catch this by changing
PREFIX/etc/pkgtools.conf to do the equivalent of `make -VINDEXFILE` when
the defaults for this variable are set. There are many reasons to
dislike the pkgtools suite, but I guess this particular "issue" is not
one of them.


More information about the freebsd-ports mailing list