After this commit https://svnweb.freebsd.org/ports?view=revision&sortby=date&revision=548950 install conflicts:
===> Installing for mesa-libs-19.0.8_3
===> Checking if mesa-libs is already installed
===> Registering installation for mesa-libs-19.0.8_3 as automatic
pkg-static: mesa-libs-19.0.8_3 conflicts with nvidia-driver-390-390.138 (installs files into the same place). Problematic file: /usr/local/lib/libGLESv1_CM.so
*** Error code 70
Created attachment 218072 [details]
Created attachment 218073 [details]
Created attachment 218074 [details]
3rd time the charm ?
Created attachment 218075 [details]
graphics/mesa-libs, x11/nvidia-driver-340 and x11/nvidia-driver-390 build and work fine with this patch.
This solves the conflict for me with x11/nvidia-driver. Like the reporter, I'm at 12.1-RELEASE-p10.
I'm running stable/12:
FreeBSD g1-48.catwhisker.org 12.2-STABLE FreeBSD 12.2-STABLE #816 r365891M/365898: Sat Sep 19 03:50:24 PDT 2020 email@example.com:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64
I just reverted r548950 locally, which seems to work OK.
I applied the v4 patch to the x11/nvidia-driver port in my local poudriere system, and was able to install the generated nvidia-driver-440.100_1 package and get X11 working again with my nvidia card (12.1-RELEASE-p10 amd64).
Created attachment 218135 [details]
v4 patch with nvidia-driver and linux-nvidia-libs updated to 450.66
v4 patch with nvidia-driver and linux-nvidia-libs updated to 450.66.
Applicable on /usr/ports.
Possibly insufficient, as not checked newly-added files.
Note that libnvidia-fatbinaryloader.so.* are removed from linux-nvidia-libs at 450.57. See  for details.
A commit references this bug:
Date: Mon Sep 21 09:05:05 UTC 2020
New revision: 549424
Fix nvidia-driver* after r548950
Now that mesa include glesv1 lib, remove the nvidia generic named lib
and add more entries in libmap.conf so the nvidia ones are used.
Reported by: VVD <firstname.lastname@example.org>
(In reply to Tomoaki AOKI from comment #10)
Please open a new PR for the update.
I'm not the maintainer and I was only interested in fixing my mistake.
(In reply to Emmanuel Vadot from comment #12)
Done as Bug 249505 [patch]x11/nvidia-driver and x11/linux-nvidia-libs.
*** Bug 249548 has been marked as a duplicate of this bug. ***
*** Bug 249975 has been marked as a duplicate of this bug. ***