git: ea70656f82e8 - main - www/otter-browser: clean up after Qt Webkit removal

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Tue, 09 Sep 2025 09:58:33 UTC
The branch main has been updated by makc:

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

commit ea70656f82e8fa14d636bd475967bb8062f3fbd6
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2025-09-09 09:54:53 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2025-09-09 09:58:12 +0000

    www/otter-browser: clean up after Qt Webkit removal
    
    PR:             288580
    Reported by:    tom+fbsdbugzilla@nuegia.net
---
 www/otter-browser/Makefile | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/www/otter-browser/Makefile b/www/otter-browser/Makefile
index 4b216b1dfb7a..12bc3eed6d93 100644
--- a/www/otter-browser/Makefile
+++ b/www/otter-browser/Makefile
@@ -23,25 +23,15 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libhunspell-1.7.so:textproc/hunspell
 
 USES=		cmake compiler:c++11-lib desktop-file-utils qt:5
-USE_QT=		concurrent core dbus declarative gui multimedia network printsupport \
-		script sql sql-sqlite3 svg widgets xmlpatterns \
+USE_QT=		concurrent core dbus declarative gui location multimedia \
+		network printsupport script sql sql-sqlite3 svg \
+		webchannel webengine widgets xmlpatterns \
 		buildtools:build qmake:build
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	OtterBrowser
 # GH_TAGNAME=	22de58d  # For intermediate versions only
 
-OPTIONS_MULTI=		BACKEND
-OPTIONS_MULTI_BACKEND=	QTWEBENGINE QTWEBKIT
-OPTIONS_DEFAULT=	QTWEBENGINE
-
-QTWEBENGINE_DESC=	Build QtWebEngine backend
-QTWEBKIT_DESC=		Build QtWebKit backend
-
-QTWEBENGINE_USE=	qt=declarative,location,webchannel,webengine
-QTWEBENGINE_CMAKE_BOOL=	ENABLE_QTWEBENGINE
-
-QTWEBKIT_USE=		qt=webkit
-QTWEBKIT_CMAKE_BOOL=	ENABLE_QTWEBKIT
+CMAKE_ON=	ENABLE_QTWEBENGINE
 
 .include <bsd.port.mk>