dev-python/PyQt6: adjust qmake hack comment

Was looking for a better workaround for this, but then realized
that it did not fail for the reason I thought it did.

Perhaps could be improved in PyQt-builder.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2023-12-25 10:38:04 -05:00
parent 7d9c4d95eb
commit 9b6765bfc0

View File

@@ -91,9 +91,9 @@ PATCHES=(
src_prepare() {
default
# hack: qmake queries g++ or clang++ for info depending on which qtbase was
# built with, but ignores CHOST failing with -native-symlinks (bug #726112)
# and potentially using wrong information when cross-compiling
# hack: PyQt-builder runs qmake without our arguments and calls g++
# or clang++ depending on what qtbase was built with, not used for
# building but fails with -native-symlinks
mkdir "${T}"/cxx || die
local cxx
! cxx=$(type -P "${CHOST}"-g++) || ln -s -- "${cxx}" "${T}"/cxx/g++ || die