[Bug 266301] graphics/drm-kmod: wrong dependencies on FreeBSD 12.3
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 266301] graphics/drm-kmod: wrong dependencies on FreeBSD 12.3"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Sep 2022 15:14:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266301
--- Comment #3 from Martin Birgmeier <d8zNeCFG@aon.at> ---
I think graphics/drm-kmod/Makefile should be changed to this (untested):
PORTNAME= drm-kmod
PORTVERSION= 20220907
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= x11@FreeBSD.org
COMMENT= Metaport of DRM modules for the linuxkpi-based KMS components
WWW= https://github.com/freebsd/drm-kmod
USES= metaport
.include <bsd.port.options.mk>
.if ${OPSYS} != FreeBSD
IGNORE= not supported on anything but FreeBSD (missing linuxkpi
functionality)
.elif ${OSVERSION} < 1300000
RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-fbsd12.0-kmod
_DRM_ARCHS= amd64 i386
.elif ${OSVERSION} >= 1301000
RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-510-kmod
_DRM_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
.else
IGNORE= not supported on this FreeBSD version
.endif
.if ! defined(IGNORE) && ! ${_DRM_ARCHS:M${ARCH}}
IGNORE= not supported for this machine architecture
.endif
.include <bsd.port.mk>
The whole _DRM_ARCHS stuff could also be omitted as it should be handled in the
depended-on ports.
-- Martin
--
You are receiving this mail because:
You are the assignee for the bug.