libwebsockets builds with LWS_WITH_EVLIB_PLUGINS, which defaults to ON on
UNIX, so every event loop selected in the EVLOOP option group produces a
separate libwebsockets-evlib_*.so plugin. pkg-plist hardcoded only the libuv
one:
lib/libwebsockets-evlib_uv.so
With any other EVLOOP option enabled the extra plugins are staged but not
listed. testport catches that as an orphan, but a bulk build does not run
check-plist: it silently drops the files from the package while the installed
CMake export set (libwebsockets-config.cmake) still references them. Any
consumer that does find_package(libwebsockets) then fails at configure time,
e.g. net/mosquitto:
The imported target "websockets-evlib_ev" references the file "/usr/local/lib/libwebsockets-evlib_ev.so" but this file does not exist.
OPTIONS_SUB is already set, so gate the four plugins on their options:
%%GLIB%%lib/libwebsockets-evlib_glib.so %%LIBEV%%lib/libwebsockets-evlib_ev.so %%LIBEVENT%%lib/libwebsockets-evlib_event.so %%LIBUV%%lib/libwebsockets-evlib_uv.so
Bump PORTREVISION since the packaged file list changes for non-default
EVLOOP selections.
The second commit is a no-functional-change cleanup to silence portclippy:
option definition blocks in the canonical order and _DESC/helper entries
sorted alphabetically.
