Trying to compile theNVIDIA driver ........ however no ^bsd.sysdir.mk^

From: <louis.freebsd_at_xs4all.nl>
Date: Mon, 07 Nov 2022 15:21:05 UTC
As the title is allready tells, I try to compile and install a NVIDIA driver for my 960 video card. 

 �

So I downloaded the driver from the NVIDIA site and tried to compile. That … does not work

 �

Below the messages I get. It seems that the makefile expects bsd.sysdir.mk, which is not there

(I verified)

 �

How to fix this!?

How to setup the nvidia driver for FreeBSD 14 current? 

 �

Below the error messages.

 �

Louis

 �

 �

[root@mysys /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76]# make install clean

===> src (install)

===> src/nvidia (install)

make[2]: "/usr/share/mk/bsd.sysdir.mk" line 15: Unable to locate the kernel source tree. Set SYSDIR to override.

 �

make[2]: stopped in /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76/src/nvidia

*** Error code 1

 �

Stop.

make[1]: stopped in /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76/src

*** Error code 1

 �

Stop.

make: stopped in /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76

[root@mysys /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76]#