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 <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2026-07-10 18:48:20 +02:00
parent 68dad83b86
commit fb3500a726

View File

@@ -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