summaryrefslogtreecommitdiff
path: root/dev-python/PyQt6-WebEngine
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-06-17 13:27:16 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-06-17 13:27:16 +0000
commitf59f30a60c3a172f0d323fc45806dd837487aa2c (patch)
treee57c387d28bdab05944850caa79c86e9ddda2259 /dev-python/PyQt6-WebEngine
parent5ec001c1ae587c47e8a954385b80e0e24d7f719f (diff)
downloadbaldeagleos-repo-f59f30a60c3a172f0d323fc45806dd837487aa2c.tar.gz
baldeagleos-repo-f59f30a60c3a172f0d323fc45806dd837487aa2c.tar.xz
baldeagleos-repo-f59f30a60c3a172f0d323fc45806dd837487aa2c.zip
Adding metadata
Diffstat (limited to 'dev-python/PyQt6-WebEngine')
-rw-r--r--dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
index 28bcc63b79dd..c52ec1a8d81a 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
@@ -30,16 +30,18 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-python/PyQt-builder-1.15[${PYTHON_USEDEP}]
- >=dev-qt/qtbase-${QT_PV}
- sys-devel/gcc"
+ >=dev-qt/qtbase-${QT_PV}"
src_prepare() {
default
- # hack: qmake queries g++ directly for info (not building) and that doesn't
- # work with clang, this is to make it at least respect CHOST (bug #726112)
+ # 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
mkdir "${T}"/cxx || die
- ln -s "$(type -P ${CHOST}-g++ || type -P g++ || die)" "${T}"/cxx/g++ || die
+ local cxx
+ ! cxx=$(type -P "${CHOST}"-g++) || ln -s -- "${cxx}" "${T}"/cxx/g++ || die
+ ! cxx=$(type -P "${CHOST}"-clang++) || ln -s -- "${cxx}" "${T}"/cxx/clang++ || die
PATH=${T}/cxx:${PATH}
}