Re: git: b8d1917454e7 - main - Mk/Uses: Ignore pear ports with php81

From: Moin Rahman <bofh_at_freebsd.org>
Date: Tue, 19 Aug 2025 15:29:20 UTC

> On Aug 18, 2025, at 17:37, Bryan Drewery <bdrewery@FreeBSD.org> wrote:
> 
> Not disputing the change, but can you include the _why_ in the commit message please?
> 
> On 8/17/25 3:40 AM, Muhammad Moinur Rahman wrote:
>> The branch main has been updated by bofh:
>> 
>> URL: https://cgit.FreeBSD.org/ports/commit/?id=b8d1917454e78eb2f7c04a03a5754ecaae962cc5
>> 
>> commit b8d1917454e78eb2f7c04a03a5754ecaae962cc5
>> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>> AuthorDate: 2025-08-17 10:38:59 +0000
>> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>> CommitDate: 2025-08-17 10:39:49 +0000
>> 
>>     Mk/Uses: Ignore pear ports with php81
>>          Approved by:    portmgr (blanket)
>> ---
>>  Mk/Uses/pear.mk | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>> 
>> diff --git a/Mk/Uses/pear.mk b/Mk/Uses/pear.mk
>> index 0496dded11b9..cbea5a6fe5f7 100644
>> --- a/Mk/Uses/pear.mk
>> +++ b/Mk/Uses/pear.mk
>> @@ -22,8 +22,8 @@ IGNORE= Incorrect 'USES+= pear:${pear_ARGS}' usage: argument [${arg}] is not rec
>>  .    endif
>>  .  endfor
>>  -_pear_IGNORE_WITH_PHP=
>> -IGNORE_WITH_PHP?= ${_pear_IGNORE_WITH_PHP}
>> +_pear_IGNORE_WITH_PHP=81
>> +IGNORE_WITH_PHP+= ${_pear_IGNORE_WITH_PHP}
>>  php_ARGS+= flavors
>>  .include "${USESDIR}/php.mk"
>> 
> 
> 

Yes indeed I should have mentioned it in the commit.

pear@php81 has been broken since last quarterly I believe. php81 does not
support the latest libxml2 of the ports tree at it's entirety and that caused
the pear to fail build with php81. Initially I planned to merge some upstream
changes from php83 into php81 but it breaks lots of other things and considering
the EOL date on 31st December I do not see the fusibility and value of the time
invested in this.

Kind regards,
Moin