git: 4df670b47199 - main - graphics/drm-kmod: Set default version for 15-CURRENT to 6.1-lts

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 05:36:43 UTC
The branch main has been updated by manu:

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

commit 4df670b471998621041d14c4a6d17f8b2ef5e089
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-01-30 05:34:17 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-01-30 05:36:30 +0000

    graphics/drm-kmod: Set default version for 15-CURRENT to 6.1-lts
    
    Switch CURRENT users to 6.1-lts drm port.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 graphics/drm-kmod/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/graphics/drm-kmod/Makefile b/graphics/drm-kmod/Makefile
index 8ae7109c6a9e..6073e677da6c 100644
--- a/graphics/drm-kmod/Makefile
+++ b/graphics/drm-kmod/Makefile
@@ -22,8 +22,10 @@ _DRM_ARCHS=	aarch64 amd64 i386 powerpc64 powerpc64le
 .  elif ${OSVERSION} >= 1400097 && (${ARCH} == i386 || ${ARCH} == aarch64)
 RUN_DEPENDS+=	${KMODDIR}/drm.ko:graphics/drm-510-kmod
 _DRM_ARCHS=	aarch64 i386
-.  elif ${OSVERSION} >= 1400097
+.  elif ${OSVERSION} >= 1400097 && ${OSVERSION} < 1500008
 RUN_DEPENDS+=	${KMODDIR}/drm.ko:graphics/drm-515-kmod
+.  elif ${OSVERSION} >= 1500008
+RUN_DEPENDS+=	${KMODDIR}/drm.ko:graphics/drm-61-kmod
 _DRM_ARCHS=	amd64 powerpc64 powerpc64le
 .  else
 _DRM_ARCHS=