I have my source tree checked out at different location than /usr/src. In this case, nvidia.ko generated from x11/nvidia-driver cannot be loaded. On kldload nvidia, I get: KLD nvidia.ko: depends on kernel - not available or version mismatch linker_load_file: Unsupported file type Looking at logs of port-building, it seemed that it was linking against /usr/src. I updated /etc/make.conf with "SRC_BASE=/new/base/location" but it did not help and it was still linking with the old base i.e. /usr/src Explicitly symlinking /usr/src to new base location fixed the issue.
Responsible Changed From-To: freebsd-ports-bugs->danfe Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Fixed in r324376, thanks for the report!