Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2004 21:20:19 +0100
From:      Thomas-Martin Seck <tmseck-lists@netcologne.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: HEADSUP: INDEX[-5] files were removed from CVS.
Message-ID:  <20041113202019.GA1255@laurel.tmseck.homedns.org>
In-Reply-To: <419661AB.1080002@gmx.net>
References:  <20041113190901.18618.qmail@laurel.tmseck.homedns.org> <419661AB.1080002@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Michael Nottebrock (michaelnottebrock@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.



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