Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2021 16:19:30 -0400
From:      Carmel <carmel_ny@outlook.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Ports INDEX
Message-ID:  <PH0PR16MB4245AC1305C983A02C942AF0804E9@PH0PR16MB4245.namprd16.prod.outlook.com>
In-Reply-To: <YHdHCXiJHGjQ/ahY@home.opsec.eu>
References:  <PH0PR16MB4245E66CD292031D63ED187C804E9@PH0PR16MB4245.namprd16.prod.outlook.com> <YHdHCXiJHGjQ/ahY@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Apr 2021 21:48:25 +0200, Kurt Jaeger stated:
>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.

I realize that. I was wondering if there was a way to get 'git' to just
download the latest INDEX file without having to go through all that
extra effort?

-- 
Jerry



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