[Bug 291139] science/linux-ai-ml-env: please add support for linux-nvidia-libs-devel.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Nov 2025 23:46:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291139

--- Comment #10 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
Created attachment 265608
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265608&action=edit
[patch] PoC patch for option'ify

Proof of Concept patch for Option'ifying to support both regular and devel
versions of nvidia drivers.

Bump PORTREVISION as of pkg change (OPTIONs are recorded in pkg, if any).

This is a PoC as this patch does not support legacy versions of drivers (as not
sure anyone want it or not).
DEVEL pkg shouldn't be built on official repo, unlike flavorized case.

With DEVEL option enabled, builds, install and package fine on bare metal
stable/15, amd64 and built fine on poudriere with exactly same state of jail.

Without DEVEL option enabled fails on bare metal as assumed (want to pull in
regular version of driver, but I have -devel variant of drivers installed), and
poudriere build is fine.

Note that currently kmod parts of x11/nvidia-driver (and its variants) are
splitted into x11/nvidia-kmod (and its variants), but kmod parts are pulled in
by x11/nvidia-driver* part, so not directly depending on x11/nvidia-kmod*.

-- 
You are receiving this mail because:
You are the assignee for the bug.