[Bug 270060] x11/nvidia-driver, x11/linux-nvidia-libs: update to 525.89.02

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Mar 2023 18:11:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270060

--- Comment #17 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Bartek Jasicki from comment #16)

Thanks for updating.
Built/installed fine for me.

The only possible consumer of x11/linux-nvidia-libs* in the ports tree seems to
be net-im/zoom, and unfortunately, I'm not using it. Needs someone else to pop
in.

The command line I've attempted for search is as below.

% bfs /usr/ports/ -name "Makefile*" -exclude -name ".git" -exclude -name
".distfiles" -exclude -name "packages" | xargs rg -H "linux-nvidia-libs"


The output was as follows at ports commit
d69f12ccb038d2685f332a980f86dc5e47e94eec.

/usr/ports/x11/linux-nvidia-libs-390/Makefile
5:MASTERDIR=    ${.CURDIR}/../linux-nvidia-libs

/usr/ports/x11/nvidia-driver/Makefile.orig
195:# `x11/linux-nvidia-libs' port or its slaves)

/usr/ports/x11/nvidia-driver/Makefile.510
187:# `x11/linux-nvidia-libs' port or its slaves)

/usr/ports/x11/linux-nvidia-libs-304/Makefile
5:MASTERDIR=    ${.CURDIR}/../linux-nvidia-libs

/usr/ports/x11/nvidia-driver/Makefile
198:# `x11/linux-nvidia-libs' port or its slaves)

/usr/ports/x11/linux-nvidia-libs-340/Makefile
5:MASTERDIR=    ${.CURDIR}/../linux-nvidia-libs

/usr/ports/x11/linux-nvidia-libs-470/Makefile
5:MASTERDIR=    ${.CURDIR}/../linux-nvidia-libs

/usr/ports/x11/Makefile
216:    SUBDIR += linux-nvidia-libs
217:    SUBDIR += linux-nvidia-libs-304
218:    SUBDIR += linux-nvidia-libs-340
219:    SUBDIR += linux-nvidia-libs-390
220:    SUBDIR += linux-nvidia-libs-470
/usr/ports/net-im/zoom/Makefile
24:LINUX_NVIDIA_LIBS_AVAILABLE= linux-nvidia-libs  linux-nvidia-libs-304
linux-nvidia-libs-340 linux-nvidia-libs-390
/usr/ports/graphics/linux-c7-libglvnd/Makefile
15:CONFLICTS_INSTALL=   linux-nvidia-libs linux-nvidia-libs-*


The line 24 of net-im/zoom/Makefile was used as below.
So it should pull x11/linux-nvidia-libs* if the admin chose any of them.

LINUX_NVIDIA_LIBS_AVAILABLE=    linux-nvidia-libs  linux-nvidia-libs-304
linux-nvidia-libs-340 linux-nvidia-libs-390

OPTIONS_RADIO=                          PREINSTALL_GL_DRIVER
OPTIONS_RADIO_PREINSTALL_GL_DRIVER=    
${LINUX_NVIDIA_LIBS_AVAILABLE:tu:S/-/_/g}

PREINSTALL_GL_DRIVER_DESC=              Install OpenGL libraries for your
system:

.for p in ${LINUX_NVIDIA_LIBS_AVAILABLE}
${p:tu:S/-/_/g}_DESC=                   NVidia libraries x11/${p}
${p:tu:S/-/_/g}_RUN_DEPENDS=            ${p}>0:x11/${p}
.endfor

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