Created attachment 198212 [details] v1 OPTIONS_SET+=WAYLAND breaking existing usage (see bug 227509 comment 9) is a POLA. Let's add a safety belt which Mir (if ever ported) can also take advantage of. Based on multimedia/kodi-devel. Flavorizing isn't an option until support for variable dependencies arrives. For one, pkg upgrade will replace glfw@wayland with glfw@x11 unless no consumers have been installed yet or installed consumers expose their own @wayland flavor that depends on glfw@wayland. Build logs: - https://ptpb.pw/QbYv (WAYLAND=off X11=on) - https://ptpb.pw/l6ug (WAYLAND=on X11=off)
LGTM.
A commit references this bug: Author: jbeich Date: Sat Oct 20 21:39:09 UTC 2018 New revision: 482624 URL: https://svnweb.freebsd.org/changeset/ports/482624 Log: graphics/glfw: prevent enabling WAYLAND without disabling X11 PR: 232323 Reviewed by: tobik Approved by: portmgr blanket Changes: head/graphics/glfw/Makefile