graphics/drm-54-kmod: Remove port

All version of FreeBSD starting from 13.1 can and should use
drm-510-kmod.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
MFH:		2022Q3
This commit is contained in:
Emmanuel Vadot 2022-09-07 11:46:06 +02:00
parent 70d3745d25
commit a707d16a2d
7 changed files with 1 additions and 87 deletions

1
MOVED
View File

@ -17552,3 +17552,4 @@ x11-drivers/xf86-video-glint||2022-09-04|Has expired: Broken with recent xorg, n
www/mediawiki136||2022-09-04|Has expired: Upstream no longer maintained
games/sopwith|games/sdl-sopwith|2022-09-04|Moved to match upstream name
graphics/drm-fbsd13-kmod|graphics/drm-510-kmod|2022-09-07|Obsolete, use graphics/drm-510-kmod
graphics/drm-54-kmod|graphics/drm-510-kmod|2022-09-07|Obsolete, use graphics/drm-510-kmod

View File

@ -141,7 +141,6 @@
SUBDIR += drawing
SUBDIR += drawpile
SUBDIR += drm-510-kmod
SUBDIR += drm-54-kmod
SUBDIR += drm-fbsd12.0-kmod
SUBDIR += drm-kmod
SUBDIR += drm_info

View File

@ -1,54 +0,0 @@
PORTNAME= drm-54-kmod
PORTVERSION= 5.4.191
PORTREVISION= 1
CATEGORIES= graphics kld
MAINTAINER= x11@FreeBSD.org
COMMENT= DRM drivers modules
LICENSE= BSD2CLAUSE MIT GPLv2
LICENSE_COMB= multi
ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64, i386, aarch64, and powerpc64
IGNORE_FreeBSD_14= Use drm-510-kmod
CONFLICTS_INSTALL= drm-devel-kmod drm-current-kmod drm-510-kmod
USES= kmod uidfix compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= freebsd
GH_PROJECT= drm-kmod
GH_TAGNAME= drm_v5.4.191_1
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300136
IGNORE= not supported on older than 13.0, no kernel support
.endif
.if ${OPSYS} != FreeBSD
IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality)
.endif
.if ${ARCH} == "amd64"
PLIST_SUB+= AMDGPU=""
PLIST_SUB+= I915=""
.elif ${ARCH} == "i386"
PLIST_SUB+= AMDGPU="@comment "
PLIST_SUB+= I915=""
.elif ${ARCH} == "aarch64" || ${ARCH:Mpowerpc*}
PLIST_SUB+= AMDGPU=""
PLIST_SUB+= I915="@comment "
.else
PLIST_SUB+= AMDGPU="@comment "
PLIST_SUB+= I915="@comment "
.endif
MAKE_ENV+= MAKEOBJDIRPREFIX=${WRKSRC}/obj
pre-build:
${MKDIR} ${WRKSRC}/obj
(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj)
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1654524725
SHA256 (freebsd-drm-kmod-5.4.191-drm_v5.4.191_1_GH0.tar.gz) = 9d82509c8c870564dfbefa97eaa2df78a1a9d8f8d70ae8db1c233654e3e7ed5c
SIZE (freebsd-drm-kmod-5.4.191-drm_v5.4.191_1_GH0.tar.gz) = 18824394

View File

@ -1,5 +0,0 @@
amdgpu, i915, and radeon DRM drivers modules.
Currently corresponding to Linux 5.4.114 DRM.
This version is for FreeBSD 13.0 and above.
WWW: https://github.com/freebsd/drm-kmod/

View File

@ -1,18 +0,0 @@
[
{ type: install
message: <<EOM
The drm-54-kmod port can be enabled for amdgpu (for AMD
GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel
APUs starting with HD3000 / Sandy Bridge) through kld_list in
/etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are
some positive reports if EFI boot is NOT enabled (similar to amdgpu).
For amdgpu: kld_list="amdgpu"
For Intel: kld_list="i915kms"
For radeonkms: kld_list="radeonkms"
Please ensure that all users requiring graphics are members of the
"video" group.
EOM
}
]

View File

@ -1,6 +0,0 @@
%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
/%%KMODDIR%%/drm.ko
%%I915%%/%%KMODDIR%%/i915kms.ko
/%%KMODDIR%%/linuxkpi_gplv2.ko
/%%KMODDIR%%/radeonkms.ko
/%%KMODDIR%%/ttm.ko