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/
I see similar results for a machine where I do not change PREFIX, but where I have: PORTSDIR=/common/ports
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.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec9fff767494883b0dc6b677c9a00a516f9df045 commit ec9fff767494883b0dc6b677c9a00a516f9df045 Author: Alex S <iwtcex@gmail.com> AuthorDate: 2021-08-02 23:13:40 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2021-08-02 23:13:40 +0000 x11/nvidia-driver: make vulkan PREFIX safe PR: 253285 Reported by: mi Approved by: danfe (maintainer) x11/nvidia-driver/Makefile | 9 +++++--- .../460-patch-lib-libGLX_nvidia-Makefile (gone) | 27 ---------------------- 2 files changed, 6 insertions(+), 30 deletions(-)
Thanks for your contribution!
A commit in branch 2021Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2dd724a0cab2d45321ac5ade9517b4464ef1b440 commit 2dd724a0cab2d45321ac5ade9517b4464ef1b440 Author: Alex S <iwtcex@gmail.com> AuthorDate: 2021-08-02 23:13:40 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2021-08-02 23:18:09 +0000 x11/nvidia-driver: make vulkan PREFIX safe PR: 253285 Reported by: mi Approved by: danfe (maintainer) (cherry picked from commit ec9fff767494883b0dc6b677c9a00a516f9df045) x11/nvidia-driver/Makefile | 9 +++++--- .../460-patch-lib-libGLX_nvidia-Makefile (gone) | 27 ---------------------- 2 files changed, 6 insertions(+), 30 deletions(-)