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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 22 Nov 2025 03:36:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291139

Tomoaki AOKI <junchoon@dec.sakura.ne.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |junchoon@dec.sakura.ne.jp

--- Comment #2 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
Created attachment 265566
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265566&action=edit
PoC patch for flavorization

Proof of Concept patch for flavorization to support both regular and devel
versions of nvidia drivers.

Bump PORTREVISION as of pkg change (even on default, flavor should be recorded
in pkg).

This is a PoC as this patch does not support legacy versions of drivers (as not
sure anyone want it or not).

devel flavor builds, install and package fine on bare metal stable/15, amd64
and built fine on poudriere with exactly same state of jail.

default flavor 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 ongoing (finished short build phase and now on looooong packaging phase).

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.