Bug 253285 - x11/nvidia-driver not PREFIX-safe
Summary: x11/nvidia-driver not PREFIX-safe
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-06 05:52 UTC by Mikhail Teterin
Modified: 2021-06-29 15:18 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments
vulkan icd cleanup (2.56 KB, patch)
2021-06-29 15:16 UTC, Alex S
iwtcex: maintainer-approval? (danfe)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer 2021-02-06 05:52:35 UTC
My PREFIX is /opt, and most of the files are staged correctly -- under work/stage/opt -- except:

share/vulkan/icd.d/nvidia_icd.json
share/vulkan/implicit_layer.d/nvidia_layers.json

For some reason, the above two end up under work/stage/usr/local/
Comment 1 david 2021-02-08 18:10:01 UTC
I see similar results for a machine where I do not change PREFIX, but where I have:

PORTSDIR=/common/ports
Comment 2 Alex S 2021-06-29 15:16:58 UTC
Created attachment 226115 [details]
vulkan icd cleanup

I don't know about "most files" being staged correctly, but here is the patch fixing an annoying inconsistency between vulkan and egl icd parts of this port.