From 76e12e0335d05b8ff689b0addd0b3d527cd7fccc Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Thu, 13 Nov 2025 18:33:24 +0100 Subject: [PATCH] sci-libs/jkqtplotter: avoid Qt5 building Qt checking prevents the correct use of QT_VERSION_MAJOR however defined. If installed, jkqtplotter compiles with the unwanted Qt5. Closes: https://bugs.gentoo.org/966047 Signed-off-by: Nicolas PARLANT Part-of: https://github.com/gentoo/gentoo/pull/44619 Closes: https://github.com/gentoo/gentoo/pull/44619 Signed-off-by: Sam James --- ...013.ebuild => jkqtplotter-5.0.0_pre20251013-r1.ebuild} | 8 ++++++++ 1 file changed, 8 insertions(+) rename sci-libs/jkqtplotter/{jkqtplotter-5.0.0_pre20251013.ebuild => jkqtplotter-5.0.0_pre20251013-r1.ebuild} (91%) diff --git a/sci-libs/jkqtplotter/jkqtplotter-5.0.0_pre20251013.ebuild b/sci-libs/jkqtplotter/jkqtplotter-5.0.0_pre20251013-r1.ebuild similarity index 91% rename from sci-libs/jkqtplotter/jkqtplotter-5.0.0_pre20251013.ebuild rename to sci-libs/jkqtplotter/jkqtplotter-5.0.0_pre20251013-r1.ebuild index 96986680804a..d4b9e83979cc 100644 --- a/sci-libs/jkqtplotter/jkqtplotter-5.0.0_pre20251013.ebuild +++ b/sci-libs/jkqtplotter/jkqtplotter-5.0.0_pre20251013-r1.ebuild @@ -39,6 +39,14 @@ BDEPEND=" ) " +src_prepare() { + # avoid Qt5 automagic, https://bugs.gentoo.org/966047 + sed -e "/^ *find_package.*QT NAMES/s/Qt5 //" \ + -i cmake/jkqtplotter_common_qtsettings.cmake || die + + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON