Re: git: f1ff7793f181 - main - devel/gitlab-shell: use new feature from go.mk to download go.mod from gitlab

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Sat, 10 Aug 2024 11:19:33 UTC
10.08.2024 11:53, Matthias Fechner пишет:
>
> Hi,
>
> On 09.08.24 16:02, Vladimir Druzenko wrote:
>>>   # https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/720
>>>   #BUILD_DEPENDS=    heimdal>=0:security/heimdal
>>>   -USES=        gmake go:modules,no_targets,1.22 pkgconfig
>>> +USES=        gmake go:modules,no_targets,1.21 pkgconfig
>>
>> Hello!
>>
>> Is last line correct? Downgrade required go version from 1.22 to 1.21. 
>
>
> yes it is. Do you have problems?
>
>
> Matthias
>
# grep go: /usr/ports/*/git{lab,aly}*/Makefile
/usr/ports/devel/gitlab-runner/Makefile:USES= go:modules,1.22
/usr/ports/devel/gitlab-shell/Makefile:USES=            gmake 
go:modules,no_targets,1.21 pkgconfig
/usr/ports/net/gitlab-agent/Makefile:USES= go:modules,1.22
/usr/ports/textproc/gitlab-elasticsearch-indexer/Makefile:USES= gmake 
go:modules,no_targets,1.22 pkgconfig
/usr/ports/www/gitlab-pages/Makefile:USES= go:modules,1.22
/usr/ports/www/gitlab-workhorse/Makefile:USES=          gmake 
go:modules,no_targets,1.22
/usr/ports/devel/gitaly/Makefile:USES=          cpe gmake 
go:modules,no_targets,1.22 iconv pkgconfig ssl

Problem is to have 2nd unnecessary lang/go on the host.
This port build fine with 1.22 too. Maybe remove version and allow to 
build devel/gitlab-shell with any default lang/go?

-- 
Best regards,
Vladimir Druzenko