Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108023905
D36479.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D36479.diff
View Options
diff --git a/graphics/drm-kmod/Makefile b/graphics/drm-kmod/Makefile
--- a/graphics/drm-kmod/Makefile
+++ b/graphics/drm-kmod/Makefile
@@ -1,5 +1,6 @@
PORTNAME= drm-kmod
PORTVERSION= 20220907
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= x11@FreeBSD.org
@@ -14,15 +15,18 @@
.if ${OPSYS} != FreeBSD
IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality)
.else
-.if ${ARCH} == "amd64"
-.if ${OSVERSION} < 1300000
-RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-fbsd12.0-kmod
-.elif ${OSVERSION} >= 1301000
-RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-510-kmod
-.else
+. if ${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
+_DRM_ARCHS=
+. endif
+. if ! ${_DRM_ARCHS:M${ARCH}}
IGNORE= not supported for this configuration
-.endif
-.endif
+. endif
.endif
.include <bsd.port.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 21, 3:49 PM (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16015321
Default Alt Text
D36479.diff (1 KB)
Attached To
Mode
D36479: graphics/drm-kmod: Fix dependency on firmwares
Attached
Detach File
Event Timeline
Log In to Comment