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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-feedback:
Bug 296278: graphics/nvidia-drm-kmod: please make RUN_DEPENDS on
x11/nvidia-driver optional
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296278



--- Description ---
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.