git: e04b01217828 - main - graphics/drm-61-kmod: Fix supported 14-STABLE kernels detection

From: Vladimir Kondratyev <wulf_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 17:39:43 UTC
The branch main has been updated by wulf:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e04b01217828bf06d36a02ad8e69dbb54c30b607

commit e04b01217828bf06d36a02ad8e69dbb54c30b607
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2024-02-24 17:26:49 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2024-02-24 17:37:29 +0000

    graphics/drm-61-kmod: Fix supported 14-STABLE kernels detection
    
    Fixes:          0d8479ccccca ("Update to drm_v6.1.69_1")
    Reported by:    Tomoaki AOKI
    Sponsored by:   Serenity Cyber Security, LLC
    Approved by:    x11 (manu, implicit)
---
 graphics/drm-61-kmod/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile
index 1327241c9177..48741c9e1491 100644
--- a/graphics/drm-61-kmod/Makefile
+++ b/graphics/drm-61-kmod/Makefile
@@ -27,7 +27,7 @@ GH_TAGNAME=	${DRM_KMOD_GH_TAGNAME}
 
 .include <bsd.port.options.mk>
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500008 || ( ${OSVERSION} >= 1400508 && ${OSVERSION} < 1500000 )
+.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