1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

graphics/drm-kmod: Default to 5.15 for 14.0+

Only for amd64 and powerpc, other arches are known to be broken in this version.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
This commit is contained in:
Emmanuel Vadot 2023-10-16 16:26:56 +02:00
parent e14404ac73
commit b56921168a

View File

@ -19,9 +19,15 @@ IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality)
. if ${OSVERSION} < 1300000
RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-fbsd12.0-kmod
_DRM_ARCHS= amd64 i386
. elif ${OSVERSION} >= 1301000
. elif ${OSVERSION} >= 1301000 && ${OSVERSION} < 1400097
RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-510-kmod
_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
RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-515-kmod
_DRM_ARCHS= amd64 powerpc64 powerpc64le
. else
_DRM_ARCHS=
. endif