Port graphics/mesa-dri fails to compile complaining about missing dependency, see below. Host is running CURRENT FreeBSD 13.0-CURRENT #4 r361728: Tue Jun 2 20:30:08 CEST 2020 amd64. [...] Run-time dependency libunwind found: YES 1.4.0 Using 'PKG_CONFIG' from environment with value: 'pkgconf' Found pkg-config: /usr/local/bin/pkgconf (1.6.3) Found CMake: /usr/local/bin/cmake (3.17.3) Using 'LDFLAGS' from environment with value: ' -Wl,-rpath=/usr/local/llvm80/lib -fstack-protector-strong ' Build-time dependency wayland-scanner found: NO (tried pkgconfig and cmake) meson.build:1317:2: ERROR: Dependency "wayland-scanner" not found, tried pkgconfig and cmake A full log can be found at /usr/ports/graphics/mesa-dri/work/mesa-19.0.8/_build/meson-logs/meson-log.txt ===> Script "configure" failed unexpectedly. Please report the problem to x11@FreeBSD.org [maintainer] and attach the "/usr/ports/graphics/mesa-dri/work/mesa-19.0.8/_build/meson-logs/meson-log.txt" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1
Created attachment 215247 [details] Patch I have seen the same failure. It happens because you, like, me, have the WAYLAND option turned off. I've attached a fix which worked for me. Looks like the meson file forces wayland support otherwise.
Created attachment 215248 [details] Fix without WAYLAND First patch was incomplete. mesa-dri also needs the same fix. This patch is untested though. Still building.
This is a duplicate of 246997, closing this, please continue the conversation in the other PR. *** This bug has been marked as a duplicate of bug 246997 ***