Re: git: 0d8479ccccca - main - graphics/drm-61-kmod: Update to drm_v6.1.69_1

From: Vladimir Kondratyev <vladimir_at_kondratyev.su>
Date: Sat, 24 Feb 2024 17:54:48 UTC
On 24.02.2024 18:13, Tomoaki AOKI wrote:
> Hi.
> I'm not using any of graphics/[nvidia-]drm-*-kmod ports, though,
> but happen to see this commit message.
> 
> This seems to ignore 1400508 <= ${OSVERSION} < 1500000.
> A "!" (not) should be missing in the logic.
> 
>> The branch main has been updated by wulf:
>>
>> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=0d8479cccccad632779b640524cdb4d156fb7431
>>   .include <bsd.port.options.mk>
>>   
>> -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500008
>> -IGNORE=		not supported on older than 15.0, no kernel
> support
>> +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500008 || ( $
> {OSVERSION} >= 1400508 && ${OSVERSION} < 1500000 )
> 
> This should be
> +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500008 || !( $
> {OSVERSION} >= 1400508 && ${OSVERSION} < 1500000 )
> 
>> +IGNORE=		not supported on older than 14-STABLE 1400508,
> no kernel support
>> .endif
>> .if ${OPSYS} != FreeBSD
>>   IGNORE=		not supported on anything but FreeBSD (missing
> linuxkpi functionality)

Thanks!

I hope e04b01217828 fixed the issue.

-- 
WBR
Vladimir Kondratyev