git: 7757bd41a6ee - main - databases/opendbviewer: prevent to pickup qt6 if it co-exist with qt5 (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 19 Mar 2026 21:03:59 UTC
The branch main has been updated by fluffy:

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

commit 7757bd41a6ee32842b6c3c467dd41febf7fd95c0
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-03-19 21:01:37 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-03-19 21:01:37 +0000

    databases/opendbviewer: prevent to pickup qt6 if it co-exist with qt5 (+)
    
    Reported by:    bulk -t
    Approved by:    portmgr blanket
---
 databases/opendbviewer/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/databases/opendbviewer/Makefile b/databases/opendbviewer/Makefile
index 98d4ccd09c37..6449b045b119 100644
--- a/databases/opendbviewer/Makefile
+++ b/databases/opendbviewer/Makefile
@@ -18,6 +18,8 @@ USE_QT=		core dbus gui network sql sql-sqlite3 testlib widgets \
 		buildtools:build linguisttools:build qmake:build
 USE_XORG=	x11 xcb
 
+CMAKE_ARGS+=	-DQT_USE_VERSION=5
+
 OPTIONS_DEFINE=		DOCS MYSQL PGSQL
 OPTIONS_DEFAULT=	PGSQL