No luck building this port. It's enabled by default with x11/xorg. I'm using 12.1.
/usr/ports/graphics/wayland # make
===> License MIT accepted by the user
===> wayland-1.18.0_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by wayland-1.18.0_3 for building
===> Extracting for wayland-1.18.0_3
=> SHA256 Checksum OK for wayland-1.18.0.tar.xz.
=> SHA256 Checksum OK for 0fc00fff3015.patch.
=> SHA256 Checksum OK for 1283d54dac97.patch.
=> SHA256 Checksum OK for 3a3dd0820de3.patch.
=> SHA256 Checksum OK for 230885ebb40b.patch.
===> Patching for wayland-1.18.0_3
===> Applying distribution patches for wayland-1.18.0_3
===> Applying FreeBSD patches for wayland-1.18.0_3
3 out of 3 hunks failed--saving rejects to Makefile.am.rej
=> FreeBSD patch patch-Makefile.am failed to apply cleanly.
*** Error code 1
make: stopped in /usr/ports/graphics/wayland
Noticed a similar issue with another port. Seems like the way I updated /usr/ports was bad and had some old files around.
Sorry about that. Works fine after all.