Date: Fri, 31 Jan 2003 10:26:25 +0100 From: anselmg@t-online.de (Anselm Garbe) To: ports@freebsd.org Subject: Re: make index - bad prefix Message-ID: <20030131092625.GA25394@wotan.garbe> In-Reply-To: <20030131051012.GB8035@rot13.obsecurity.org> References: <20030130194857.GA6421@wotan.garbe> <20030131051012.GB8035@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 30, 2003 at 09:10:12PM -0800, Kris Kennaway wrote: > On Thu, Jan 30, 2003 at 08:48:57PM +0100, Anselm Garbe wrote: > > Hi there, > > > > after advancing portsman I noticed following strange behavior: > > > > If I generate the INDEX file under /usr/ports using 'make index' > > all installation prefixes of all ports are set to "/nonexistentlocal" > > as you see in the following example of the first entry: > > > > 9e-1.0|/usr/ports/archivers/9e|/nonexistentlocal|Explode Plan9 > > archives|/usr/ports/archivers/9e/pkg-descr|ports@FreeBSD.Org| > > archivers|||http://www.eecs.harvard.edu/~wkj/Software/9e/ > > > > What's the problem? > > Do you have an up-to-date ports collection? Yes, of course, that's the reason why I'm going to generate the INDEX again each day (I provide rsyncing the cutting edge INDEX of the day for portsman users). I tried to generate the INDEX on different systems (FreeBSD 4.6, FreeBSD 4.7-STABLE, FreeBSD-5.0-RELEASE) - on all I got this behavior. I think that the following sed command in /usr/ports/Makefile does not work properly: # $FreeBSD: ports/Makefile,v 1.71 2002/12/04 18:03:35 kris Exp $ ... ${.CURDIR}/${INDEXFILE}: @echo -n "Generating ${INDEXFILE} - please wait.."; \ export LOCALBASE=/nonexistentlocal; \ export X11BASE=/nonexistentx; \ cd ${.CURDIR} && make describe ECHO_MSG="echo > /dev/null" | \ perl ${.CURDIR}/Tools/make_index | \ sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,${LOCALBASE},/usr/local," -e "s,${X11BASE},/usr/X11R6," > ${INDEXFILE} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It still uses the exportet LOCALBASE /nonexistentlocal, btw. X11BASE... Thanks for any hint, Anselm -- Anselm R. Garbe () ascii ribbon campaign - against html mail www.ebrag.de /\ - against microsoft attachments To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030131092625.GA25394>