Ports INDEX

Carmel carmel_ny at outlook.com
Wed Apr 14 20:19:36 UTC 2021


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


More information about the freebsd-ports mailing list