mkdir -p /usr/lib/modules/drivers
Originally Posted by roddierod
So, to get the nvidia-driver to install nividia_drv.so into /usr/local/lib/xorg/modules/drivers I had to edit the Makefile found in the /Nvidia-FreeBSD-x86-1.0-9746/x11/driver. I had to change the line
to get the nvidia driver to build and install otherwise it just errored on the install.
fixes the error. It shouldn't matter where the drivers get installed. As long as the modulepaths are set correctly.
Deinstall the driver.. Make sure there are no XXX-* and nvidia related files left behind in $X11BASE/lib/modules/* and/or $X11BASE/lib/xorg/modules/*.
Add X11BASE=/usr/local to /etc/make.conf (this is to make sure all applications that use X11BASE will install in /usr/local). Use the freebsd port.. cd /usr/ports/x11/nvidia-driver && make all install clean
Make sure your portstree is up2date though..