[Bug 282312] x11/nvidia-driver: Update to 550.127.05 with x11/linux-nvidia-libs and related DRM ports

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Oct 2024 04:21:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282312

--- Comment #10 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Austin Shafer from comment #6)

Well, it would be nice for anyone who want New Feature Branch or BETA Branch of
drivers.

But there are some difficulties not to touch x11/nvidia-driver and
x11/linux-nvidia-libs.

These 2 are master ports for legacy drivers and legacy drivers just sets
DISTVERSION, PORTREVISION, MASTERDIRMASTERDIR and PKGNAMESUFFIX, then includes
${MASTERDIR}/Makefile. Then master port handles everything. (Plenty of
conditionals and reinplaces, as danfe@ doesn't want local patch files to
increase.)

And as we discussed on past PR or Forums, usual overriding of DISTVERSION
doesn't work for graphics/nvidia-drm*-kmod ports and need editing
x11/nvidia-driver/Makefile.version. (Otherwise, pkg version is changed as
specified but actually built with x11/nviida-driver part with the version in
x11/nvidia-driver/Makefile.version, thus, doesn't work.)

Putting above aside, possibly splitting distinfo per version and let master
ports' Makefile to choose specified one could help graphics/nvidia-drm-*-kmod
ports when graphics/drm-*-kmod and/or x11/nvidia-driver are updated.

Deleting distinfo from graphics/nvidia-drm-*-kmod, merging distinfo of
x11/nvidia-driver and corresponding graphics/drm-*-kmod into ${WRKDIR} at
pre-fetch target and using it would make things easier if it works as I imagine
(not at all tested, just an idea).
Maybe OK without splitting distinfo of x11/nvidia-driver, but it could cause
unneeded fetch of distfiles for legacy ports (not sure, though).

-- 
You are receiving this mail because:
You are on the CC list for the bug.