Skip to content

Commit

Permalink
graphics/drm-kmod: Default to 5.15 for 14.0+
Browse files Browse the repository at this point in the history
Only for amd64 and powerpc, other arches are known to be broken in this version.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
  • Loading branch information
evadot committed Oct 16, 2023
1 parent e14404a commit b569211
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion graphics/drm-kmod/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit b569211

Please sign in to comment.