From fb3500a726c5473b71aa7c22fdb4179d419973fd Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 10 Jul 2026 18:48:20 +0200 Subject: [PATCH] qmake-utils.eclass: Switch to qt_get_broot_binary for EAPI-9 ... which prepends BROOT instead of EPREFIX as it was with EAPI-8. Signed-off-by: Andreas Sturmlechner --- eclass/qmake-utils.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/qmake-utils.eclass b/eclass/qmake-utils.eclass index 024d23a32f264..79c8deaf8c66f 100644 --- a/eclass/qmake-utils.eclass +++ b/eclass/qmake-utils.eclass @@ -173,7 +173,11 @@ eqmake6() { local -a args mapfile -t args <<<"$(qt6_get_qmake_args)" # NB: we're passing literal quotes in but qmake doesn't seem to mind - "$(qt6_get_bindir)"/qmake -makefile "${args[@]}" "$@" + if [[ ${EAPI} == 8 ]]; then + "$(qt6_get_bindir)"/qmake -makefile "${args[@]}" "$@" + else + "$(qt_get_broot_binary 6 qmake)" -makefile "${args[@]}" "$@" + fi if ! eend $? ; then echo