Re: git: 70f72049e224 - main - security/gnutls: Update to 3.8.9

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Tue, 11 Feb 2025 12:40:04 UTC
On Tue, 11 Feb 2025 11:41:00 +0100 Herbert J. Skuhra wrote:
> On Tue, Feb 11, 2025 at 06:07:26PM +0900, Norikatsu Shigemura wrote:
>> Hi Tijl.
>> 
>> On 2025/02/10 17:55:06, Tijl Coosemans wrote:  
>>> The branch main has been updated by tijl:
>>> URL: https://cgit.FreeBSD.org/ports/commit/?id=70f72049e2248afb5f23502528af96e60dc6097c
>>> commit 70f72049e2248afb5f23502528af96e60dc6097c
>>> Author:     Tijl Coosemans <tijl@FreeBSD.org>
>>> AuthorDate: 2025-02-10 08:53:52 +0000
>>> Commit:     Tijl Coosemans <tijl@FreeBSD.org>
>>> CommitDate: 2025-02-10 08:54:59 +0000
>>>      security/gnutls: Update to 3.8.9  
>> 
>> This commit causes build error:
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> gmake[2]: Entering directory '/usr/ports/security/gnutls/work/gnutls-3.8.9/doc/manpages'
>> PYTHONPATH='../../cligen' \
>>          ../../cligen/cli-docgen.py \
>>         --format man --license=gpl3+ --package 'gnutls' --version='3.8.9' --authors='Nikos Mavrogiannopoulos, Simon Josefsson and others; see /usr/share/doc/gnutls/AUTHORS for a complete list.' --copyright-year=2020-2023 --copyright-holder='Free Software Foundation, and others all rights reserved.' --bug-email=bugs@gnutls.org \
>>         --include see-also=../../doc/srptool-see-also.texi \
>>         --include examples=../../doc/srptool-examples.texi \
>>         ../../src/srptool-options.json srptool.1
>> /bin/sh: ../../cligen/cli-docgen.py: not found
>> gmake[2]: *** [Makefile:3903: srptool.1] Error 127
>> gmake[2]: Leaving directory '/usr/ports/security/gnutls/work/gnutls-3.8.9/doc/manpages'
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> 
>> To fix, please apply a patch:
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
>> index 2916a9a9cef0..9848a3013ec8 100644
>> --- a/security/gnutls/Makefile
>> +++ b/security/gnutls/Makefile
>> @@ -18,7 +18,7 @@ LIB_DEPENDS=	libgmp.so:math/gmp \
>>  		libunistring.so:devel/libunistring
>>  USES=		compiler:c11 cpe gmake iconv libtool localbase makeinfo \
>> -		pkgconfig tar:xz
>> +		pkgconfig python:build tar:xz
>>  CPE_VENDOR=	gnu
>>  USE_LDCONFIG=	yes
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
> 
> This is only needed if SRP=on (default: off). So maybe better fix is:
> 
> diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
> index 2916a9a9cef0..0059348076e6 100644
> --- a/security/gnutls/Makefile
> +++ b/security/gnutls/Makefile
> @@ -66,6 +66,8 @@ NLS_USES=             gettext
>  NLS_CONFIGURE_OFF=     ac_cv_lib_intl_gettext=no
>  NLS_CONFIGURE_ENABLE=  nls
>  
> +SRP_USES=              python:build
> +

Should be fixed by 161230a0a0fe.