Date: Fri, 09 Sep 2022 15:14:17 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266301] graphics/drm-kmod: wrong dependencies on FreeBSD 12.3 Message-ID: <bug-266301-7788-TaBEaCfwOW@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266301-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-266301-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266301 --- Comment #3 from Martin Birgmeier <d8zNeCFG@aon.at> --- I think graphics/drm-kmod/Makefile should be changed to this (untested): PORTNAME=3D drm-kmod PORTVERSION=3D 20220907 PORTREVISION=3D 1 CATEGORIES=3D graphics MAINTAINER=3D x11@FreeBSD.org COMMENT=3D Metaport of DRM modules for the linuxkpi-based KMS compon= ents WWW=3D https://github.com/freebsd/drm-kmod USES=3D metaport .include <bsd.port.options.mk> .if ${OPSYS} !=3D FreeBSD IGNORE=3D not supported on anything but FreeBSD (missing linuxkpi functionality) .elif ${OSVERSION} < 1300000 RUN_DEPENDS+=3D ${KMODDIR}/drm.ko:graphics/drm-fbsd12.0-kmod _DRM_ARCHS=3D amd64 i386 .elif ${OSVERSION} >=3D 1301000 RUN_DEPENDS+=3D ${KMODDIR}/drm.ko:graphics/drm-510-kmod _DRM_ARCHS=3D aarch64 amd64 i386 powerpc64 powerpc64le .else IGNORE=3D not supported on this FreeBSD version .endif .if ! defined(IGNORE) && ! ${_DRM_ARCHS:M${ARCH}} IGNORE=3D 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266301-7788-TaBEaCfwOW>