Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2024 05:53:30 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 731a1350fde4 - main - graphics/yacreader: prefer Qt6 after 163e26d8c6d7
Message-ID:  <202403110553.42B5rUnK051461@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit 731a1350fde4a5efe0cc5141f0c64dbbc9ff770f
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-10 23:19:27 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-11 05:52:33 +0000

    graphics/yacreader: prefer Qt6 after 163e26d8c6d7
---
 graphics/yacreader/Makefile | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/graphics/yacreader/Makefile b/graphics/yacreader/Makefile
index ef18f42a7726..bcd20e93a9ab 100644
--- a/graphics/yacreader/Makefile
+++ b/graphics/yacreader/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	yacreader
 DISTVERSION=	9.14.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -10,21 +10,21 @@ WWW=		https://www.yacreader.com/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
-FLAVORS=	qt5 qt6
+FLAVORS=	qt6 qt5
 
-USES=		compiler:c++11-lib desktop-file-utils pkgconfig qmake qt:5
+USES=		compiler:c++11-lib desktop-file-utils pkgconfig qmake qt:6
 USE_GITHUB=	yes
+USE_QT=		5compat base declarative multimedia svg tools:build
+
+.if ${FLAVOR:U} == qt5
+PKGNAMESUFFIX=	-${FLAVOR}
+USES:=		${USES:S/qt:6/qt:5/}
 USE_QT=		qmake:build buildtools:build core concurrent:build declarative \
 		gui linguisttools:build multimedia network quickcontrols2 \
 		sql sql-sqlite3:run svg testlib:build widgets
-
-.if ${FLAVOR:U} == qt6
-PKGNAMESUFFIX=	-${FLAVOR}
-USES:=		${USES:S/qt:5/qt:6/}
-USE_QT=		5compat base declarative multimedia svg tools:build
 CONFLICTS_INSTALL=	${PORTNAME}
 .else
-CONFLICTS_INSTALL=	${PORTNAME}-qt6
+CONFLICTS_INSTALL=	${PORTNAME}-qt5
 .endif
 
 OPTIONS_DEFINE=	ARCHIVE OPENGL POPPLER



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403110553.42B5rUnK051461>