[Bug 296278] graphics/nvidia-drm-kmod: please make RUN_DEPENDS on x11/nvidia-driver optional

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Jun 2026 14:33:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296278

            Bug ID: 296278
           Summary: graphics/nvidia-drm-kmod: please make RUN_DEPENDS on
                    x11/nvidia-driver optional
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: dsh@bamus.cz
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Hi,

I created a local poudriere repo for fast building kmods only and was very
surprised, nvidia-drm-kmod brought hundreds of dependencies, because it has
RUN_DEPENDS on x11/nvidia-driver and building of that repo wasn't fast at all.
Can we have that dependency optional, using OPTIONS may be?

Right now my workaround is a local overlay with:

.if ${.CURDIR:M*/graphics/nvidia-drm-kmod*}
RUN_DEPENDS:=   ${RUN_DEPENDS:Nnvidia-driver*}
.endif

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