Created attachment 188928 [details]
The default installation directory, $PREFIX/lib/dri, is also used by Mesa to install r600 and radeonsi VAAPI drivers. (Also there's just no reason to change the new default to the old default.)
Without this patch, Radeon users would need to run programs with an extra environment variable: `LIBVA_DRIVERS_PATH=/usr/local/lib/dri vainfo`. With this patch, just `vainfo` works.
Thanks for reporting.
The patch changing the install location has been there long before I started maintaining this port so I did not touch it and, not having any amd graphics cards, I did not notice the issue.
The patch looks good and I agree with your analysis. I'll commit it after a little testing.
A commit references this bug:
Date: Mon Dec 18 21:25:58 UTC 2017
New revision: 456673
Make libva and it's drivers install modules in the standard location
This is the same location where other ports(mesa) install drivers,
so that everything works out of the box.
Submitted by: Greg V <email@example.com>