Re: git: ea422215bfa5 - main - graphics/libavif: Update to 1.2.0

From: Craig Leres <leres_at_freebsd.org>
Date: Fri, 14 Mar 2025 20:15:07 UTC
On 3/14/25 13:05, Rainer Hurling wrote:
> Am 14.03.25 um 21:00 schrieb Craig Leres:
>> On 3/14/25 02:57, Po-Chuan Hsieh wrote:
>>> The branch main has been updated by sunpoet:
>>>
>>> URL:https://cgit.FreeBSD.org/ports/commit/? 
>>> id=ea422215bfa561bcbf3dfd03e1183132cfeb9ec0
>>>
>>> commit ea422215bfa561bcbf3dfd03e1183132cfeb9ec0
>>> Author:     Po-Chuan Hsieh<sunpoet@FreeBSD.org>
>>> AuthorDate: 2025-03-14 09:38:24 +0000
>>> Commit:     Po-Chuan Hsieh<sunpoet@FreeBSD.org>
>>> CommitDate: 2025-03-14 09:54:03 +0000
>>>
>>>      graphics/libavif: Update to 1.2.0
>>
>> This updated doesn't build for me (14.2/amd64/poudriere). I think it's 
>> missing LDFLAGS+=-lm
> 
> This error does not happen with OPTION LIBYUV enabled. This option has 
> graphics/libyuv as dependency.

Adding LIBYUV_CFLAGS_OFF=-Wl,-lm seems to work.

		Craig