Created attachment 189179 [details] v0 WAYLAND=on build overrides the list of enabled platforms. Since Mesa 17.2.0 surfaceless platform was enabled by default upstream but WAYLAND option hasn't been adjusted. Notice -DHAVE_SURFACELESS_PLATFORM in build logs which disappears if WAYLAND option is enabled. https://cgit.freedesktop.org/mesa/mesa/commit/?id=2d35773221 http://beefy5.nyi.freebsd.org/data/latest-per-pkg/mesa-dri/17.3.1/103i386-default.log
The regression affects both WAYLAND=on and WAYLAND=off. I guess, the latter is to avoid accidentally picking up libwayland* as a dependency.
A commit references this bug: Author: jbeich Date: Tue Oct 16 00:00:09 UTC 2018 New revision: 482191 URL: https://svnweb.freebsd.org/changeset/ports/482191 Log: graphics/mesa-libs: enable surfaceless like upstream PR: 224659 Approved by: maintainer timeout (9 months) Changes: head/graphics/mesa-libs/Makefile