===> Configuring for nvidia-driver-340-340.107 ===> Building for nvidia-driver-340-340.107 ===> src (all) make: "/usr/src/sys/conf/kmod.mk" line 474: Could not find bsd.clang-analyze.mk make: Fatal errors encountered -- cannot continue make: stopped in /usr/obj/usr/src/sys/MACMINI/usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.107/src *** Error code 1
-rw-r--r-- 1 root wheel 3132 10 Aug 19:56 /usr/src/share/mk/bsd.clang-analyze.mk
I've deleted /usr/src and /usr/obj and re-checked out 11.2-STABLE source and rebuilt 11.2-STABLE. No change.
Obviously I don't want to upgrade until I can successfully build the nvidia driver for X.