Hello world :-)
Here goes devel/efl (1.25.1) and x11-wm/enlightenment (0.24.2) work in progress aimed at running on Wayland instead of X11 on FreeBSD. Two port files builds fine finally (some Linux headers need to be included for EFL though).
However Enlightenment is hardwired internally to systemd and elogind therefore so far it only works on Linux when it comes to Wayland. Alternative solution is to use SeatD/WLroots and implement portable wayland backend to Enlightenment.
Best regards :-)
Created attachment 220750 [details]
efl that builds with wayland enabled (but does not work)
Created attachment 220751 [details]
englightenment that builds with wayland support (but does not work)
By the way I have finally learned how to send patches to upstream efl/e with arcanits+phab so if you have something to patch just let me know I can send them :-)
Have you tried https://reviews.freebsd.org/D18754 and something like the following?
-#define SYSTEMD_DBUS_NAME "org.freedesktop.login1"
-#define SYSTEMD_DBUS_PATH "/org/freedesktop/login1"
-#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.login1.Manager"
+#define SYSTEMD_DBUS_NAME "org.freedesktop.ConsoleKit"
+#define SYSTEMD_DBUS_PATH "/org/freedesktop/ConsoleKit/Manager"
+#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.ConsoleKit.Manager"
As this one is still opened, I made EFL to build with EFL Wayland support on FreeBSD. But there is a hardcode to Linux only SystemD. To overcome this a portable part elogind needs to be implemented on BSD in the first place.