git: 8c472957483b - main - net/remmina: force libsoup2

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Sun, 02 Jul 2023 17:40:31 UTC
The branch main has been updated by fernape:

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

commit 8c472957483b14e309d75f1c1ee3ece4187a39fa
Author:     Sergey Kiselev <root@dc365.ru>
AuthorDate: 2023-06-27 14:23:22 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-07-02 17:40:16 +0000

    net/remmina: force libsoup2
    
    If libsoup3 is present in the system, remmina might pick it even if it is
    expected to use libsoup2. This results in an error like:
    
    libsoup-ERROR **: 09:36:19.231: libsoup3 symbols detected. Using libsoup2 and
    libsoup3 in the same process is not supported.
    
    Force libsoup2.
    
    PR:             271557
    Reported by:    root@dc365.ru
---
 net/remmina/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net/remmina/Makefile b/net/remmina/Makefile
index a3f615c8084e..89c64e5967e7 100644
--- a/net/remmina/Makefile
+++ b/net/remmina/Makefile
@@ -35,7 +35,8 @@ USE_XORG=	ice sm x11 xext
 SHEBANG_FILES=	data/desktop/remmina-file-wrapper.in
 bash_CMD=	${SH}
 
-CMAKE_ARGS=	-DWITH_APPINDICATOR:BOOL=false
+CMAKE_ARGS=	-DWITH_APPINDICATOR:BOOL=false \
+	-DLIBSOUP_LIBRARY=/usr/local/lib/libsoup-2.4.so
 
 CONFLICTS_INSTALL=	remmina-plugin*
 
@@ -114,6 +115,7 @@ VNC_CMAKE_BOOL=		WITH_LIBVNCSERVER
 WWW_LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz \
 			libsoup-2.4.so:devel/libsoup \
 			libwebkit2gtk-4.0.so:www/webkit2-gtk3
+
 WWW_CMAKE_BOOL=		WITH_WEBKIT2GTK
 
 ZSH_RUN_DEPENDS=	zsh:shells/zsh