git: 4d54d699e660 - main - math/qalculate-qt: Update to 4.9.0

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 21:25:14 UTC
The branch main has been updated by jhale:

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

commit 4d54d699e660924b5e1fabc8ce9a5de05fae53c4
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-12-01 18:53:36 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-12-01 21:25:07 +0000

    math/qalculate-qt: Update to 4.9.0
    
    Switch default flavor to qt6.
    
    https://github.com/Qalculate/qalculate-qt/releases/tag/v4.9.0
---
 math/qalculate-qt/Makefile | 14 ++++++++------
 math/qalculate-qt/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/math/qalculate-qt/Makefile b/math/qalculate-qt/Makefile
index b175d8f68d79..bcc9c53c8258 100644
--- a/math/qalculate-qt/Makefile
+++ b/math/qalculate-qt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	qalculate-qt
-PORTVERSION=	4.8.1
+PORTVERSION=	4.9.0
 CATEGORIES=	math
 MASTER_SITES=	https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/
 PKGNAMESUFFIX=	${FLAVOR:S/qt//}
@@ -14,16 +14,18 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libqalculate.so:math/libqalculate
 RUN_DEPENDS=	gnuplot:math/gnuplot
 
-FLAVORS=		qt5 qt6
+FLAVORS=		qt6 qt5
 FLAVOR?=		${FLAVORS:[1]}
 qt5_CONFLICTS_INSTALL=	qalculate-qt qalculate-qt6
 qt6_CONFLICTS_INSTALL=	qalculate-qt qalculate-qt5
 
 USES=		compiler:c++11-lib gl pkgconfig qmake qt:${FLAVOR:S/qt//}
-USE_GL=		gl
-_USE_QT5=	buildtools:build linguisttools:build core gui network widgets
-_USE_QT6=	base tools:build
-USE_QT=		${_USE_QT${FLAVOR:S/qt//}}
+_USE_GL_qt5=	gl
+_USE_GL_qt6=	opengl
+USE_GL=		${_USE_GL_${FLAVOR}}
+_USE_QT_qt5=	buildtools:build linguisttools:build core gui network widgets
+_USE_QT_qt6=	base tools:build
+USE_QT=		${_USE_QT_${FLAVOR}}
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
diff --git a/math/qalculate-qt/distinfo b/math/qalculate-qt/distinfo
index 851c096f53d8..d7a578a9cba8 100644
--- a/math/qalculate-qt/distinfo
+++ b/math/qalculate-qt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695066502
-SHA256 (qalculate-qt-4.8.1.tar.gz) = 34977c8d02d47831c21a9a25ef967d8c5eefe630ec10f86347a7c598891300d5
-SIZE (qalculate-qt-4.8.1.tar.gz) = 1332134
+TIMESTAMP = 1701456286
+SHA256 (qalculate-qt-4.9.0.tar.gz) = d3d2a054ed73c005fe2e64dc1882a0fe2f9aef817d59f30898efe4a80edf1330
+SIZE (qalculate-qt-4.9.0.tar.gz) = 1738477