Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2021 21:48:25 +0200
From:      Kurt Jaeger <pi@freebsd.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Ports INDEX
Message-ID:  <YHdHCXiJHGjQ/ahY@home.opsec.eu>
In-Reply-To: <PH0PR16MB4245E66CD292031D63ED187C804E9@PH0PR16MB4245.namprd16.prod.outlook.com>
References:  <PH0PR16MB4245E66CD292031D63ED187C804E9@PH0PR16MB4245.namprd16.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> I just switched from using 'portsnap' to 'git'. I removed everything in
> the directory, then used 'git' to build it. That worked fine. I had to
> manually recreate the 'distfiles' directory, but I expected to have to
> do that.
> 
> Now, if I run a 'make search' in the directory, I receive an error
> message that it needs the INDEX file. I ran "make index" and that
> seems to work alright. My question is, is that the best way to handle
> this?

There's a make target fetchindex.

So

cd /usr/ports
make fetchindex

fetches the index from some repo.

-- 
pi@opsec.eu            +49 171 3101372                    Now what ?



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