git: e83502814cc4 - main - net/libwebsockets: Fix PLUGINS option

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 17 Dec 2023 19:05:34 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e83502814cc4266a5d27a401728122bb4005ae14

commit e83502814cc4266a5d27a401728122bb4005ae14
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-12-17 19:03:11 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-12-17 19:04:31 +0000

    net/libwebsockets: Fix PLUGINS option
    
    Deaddrop plugin fails to compile with Werror enabled
---
 net/libwebsockets/Makefile  | 1 +
 net/libwebsockets/pkg-plist | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net/libwebsockets/Makefile b/net/libwebsockets/Makefile
index c021c9abb922..21f35a7f8907 100644
--- a/net/libwebsockets/Makefile
+++ b/net/libwebsockets/Makefile
@@ -52,6 +52,7 @@ MQTT_CMAKE_BOOL=	LWS_ROLE_MQTT LWS_WITH_EXTERNAL_POLL
 PEERLIMITS_CMAKE_BOOL=	LWS_WITH_PEER_LIMITS
 PLUGINS_CMAKE_BOOL=	LWS_WITH_PLUGINS \
 			LWS_WITH_PLUGINS_API
+PLUGINS_CMAKE_BOOL_OFF=	DISABLE_WERROR
 SECURE_STREAMS_CMAKE_BOOL=	LWS_WITH_SECURE_STREAMS \
 			LWS_WITH_SECURE_STREAMS_PROXY_API
 SOCKS_CMAKE_BOOL=	LWS_WITH_SOCKS5
diff --git a/net/libwebsockets/pkg-plist b/net/libwebsockets/pkg-plist
index cbe09a5b2282..a97c3724dcf7 100644
--- a/net/libwebsockets/pkg-plist
+++ b/net/libwebsockets/pkg-plist
@@ -105,6 +105,7 @@ libdata/pkgconfig/libwebsockets_static.pc
 %%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_client_loopback_test.so
 %%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_deaddrop.so
 %%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_dumb_increment.so
+%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_fulltext_demo.so
 %%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_mirror.so
 %%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_openmetrics_export.so
 %%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_raw_proxy.so