Created attachment 201098 [details] v0 WITH_DEBUG has been defined since import. As the port stabilized over the years bugs are found elsewhere, so there's little reason to build this package in a different way to the rest (Mesa, libevdev, etc).
A commit references this bug: Author: zeising Date: Tue Jan 22 20:51:38 UTC 2019 New revision: 490980 URL: https://svnweb.freebsd.org/changeset/ports/490980 Log: graphics/wayland: disable debug build by default There is no need to build wayland with debug options by default. This is most likely a left over from when it was first ported. PR: 234920 Submitted by: jbeich Changes: head/graphics/wayland/Makefile
Comitted, thanks!