git: 98f789831885 - main - KDE ports: Fix build with KF6

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 15 Jul 2024 08:33:03 UTC
The branch main has been updated by arrowd:

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

commit 98f789831885deb55915f838489fd57fc331bced
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-07-15 08:13:55 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-07-15 08:22:14 +0000

    KDE ports: Fix build with KF6
    
    PR:             280070
---
 x11-fonts/oxygen-fonts/Makefile       | 2 +-
 x11-themes/kf5-oxygen-icons5/Makefile | 7 +------
 x11/plasma-wayland-protocols/Makefile | 2 +-
 3 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/x11-fonts/oxygen-fonts/Makefile b/x11-fonts/oxygen-fonts/Makefile
index f8aec45869aa..7cd29a03af1a 100644
--- a/x11-fonts/oxygen-fonts/Makefile
+++ b/x11-fonts/oxygen-fonts/Makefile
@@ -20,7 +20,7 @@ USE_KDE=	ecm:build
 KDE_PLASMA_VERSION=	${DISTVERSION}
 KDE_PLASMA_BRANCH=	Attic
 
-USE_QT=	buildtools:build qmake:build
+USE_QT=	buildtools:build core:build qmake:build
 
 NO_ARCH=	yes
 
diff --git a/x11-themes/kf5-oxygen-icons5/Makefile b/x11-themes/kf5-oxygen-icons5/Makefile
index 0dce8852315d..00e725b2c697 100644
--- a/x11-themes/kf5-oxygen-icons5/Makefile
+++ b/x11-themes/kf5-oxygen-icons5/Makefile
@@ -8,12 +8,7 @@ COMMENT=	The Oxygen icon theme for KDE
 USES=		cmake kde:5 qt:5 tar:xz
 USE_KDE=	ecm:build  # We only install icons.
 
-# The qmake dependency is only needed so that kf5-e-c-m can query qmake for
-# some installation directories.
-# We explicitly prevent it from looking for qt5-core and specify qmake's path
-# to avoid needlessly depending on qt5-core; we're just installing a ton of
-# icon files and do not even use the paths queried from qmake.
-USE_QT=		buildtools:build qmake:build
+USE_QT=		buildtools:build core:build qmake:build
 
 NO_ARCH=	yes
 
diff --git a/x11/plasma-wayland-protocols/Makefile b/x11/plasma-wayland-protocols/Makefile
index f08e16d9d971..0d74d560f3ea 100644
--- a/x11/plasma-wayland-protocols/Makefile
+++ b/x11/plasma-wayland-protocols/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
 USES=		cmake kde:5 qt:5 tar:xz
 USE_KDE=	ecm:build
-USE_QT=		buildtools:build qmake:build
+USE_QT=		buildtools:build core:build qmake:build
 
 NO_ARCH=	yes