Re: git: 7ec144c0023a - main - databases/redisjson: update to the recent version 2.0.2.

From: Tobias Kortkamp <tobik_at_freebsd.org>
Date: Mon, 01 Nov 2021 18:35:45 UTC
On Mon, Nov 01, 2021 at 04:59:42PM +0000, Sergey A. Osokin wrote:
> The branch main has been updated by osa:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=7ec144c0023a12634db120b4668ad25f321747e9
> 
> commit 7ec144c0023a12634db120b4668ad25f321747e9
> Author:     Sergey A. Osokin <osa@FreeBSD.org>
> AuthorDate: 2021-11-01 16:58:52 +0000
> Commit:     Sergey A. Osokin <osa@FreeBSD.org>
> CommitDate: 2021-11-01 16:59:36 +0000
> 
>     databases/redisjson: update to the recent version 2.0.2.
> [...]
> -		jsonpath_lib@git+https://github.com/RedisJSON/jsonpath.git?branch=generic_json_path\#14af7aa5435f3e676ceb3441ad78b9c8cb3ffa3a
> +		jsonpath_lib@git+https://github.com/RedisJSON/jsonpath.git?tag=v2.0.2\#ee220247038dd3a0605a54e65011d1fbceb42dee
>  
>  PLIST_FILES=	lib/librejson.so
>  
> +do-patch:
> +	${REINPLACE_CMD} \
> +		's|^\(jsonpath_lib\).*v\([[:digit:]]\.[[:digit:]]\.[[:digit:]]\).*|\1 = \{ path=\"../jsonpath-\2\" \}|g' \
> +			${WRKSRC}/Cargo.toml

Hi,

the do-patch does not make sense to me. AFAICT the port builds
fine without it. Can you remove it again?

If there is something wrong with the new git sources support in
USES=cargo I'd like to know about it. I'm sure we can find some
sort of a solution before applying workarounds.

Thanks.