diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-06-21 12:25:05 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-11-29 21:50:16 +0100 |
commit | 98f5475d46518fa7da5ece4bceb1189283eba4f8 (patch) | |
tree | 75229c7798055e758d877be3c9b4b013d619f34b /eclass/ecm.eclass | |
parent | sci-mathematics/mathlib-tools: bump to 1.3.1 (diff) | |
download | gentoo-98f5475d46518fa7da5ece4bceb1189283eba4f8.tar.gz gentoo-98f5475d46518fa7da5ece4bceb1189283eba4f8.tar.bz2 gentoo-98f5475d46518fa7da5ece4bceb1189283eba4f8.zip |
ecm.eclass: Workaround Portage depgraph shortcomings from revdeps' side
Bug: https://bugs.gentoo.org/836726
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/ecm.eclass')
-rw-r--r-- | eclass/ecm.eclass | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index 47992dbc86ca..c2d91a2cb851 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -218,13 +218,32 @@ case ${ECM_HANDBOOK} in ;; esac +# Unfortunately, Portage has no concept of BDEPEND=dev-qt/qthelp being broken +# by having only partially updated Qt dependencies, which means it will order +# dev-qt/qthelp revdeps in build queue before its own Qt dependencies, leaving +# qhelpgenerator broken. This is an attempt to help with that. Bug #836726 case ${ECM_QTHELP} in true) IUSE+=" doc" COMMONDEPEND+=" doc? ( dev-qt/qt-docs:${KFSLOT} )" BDEPEND+=" doc? ( >=app-doc/doxygen-1.8.13-r1 - dev-qt/qthelp:${KFSLOT} + || ( + ( + =dev-qt/qtcore-5.15.7*:5 + =dev-qt/qtgui-5.15.7*:5 + =dev-qt/qthelp-5.15.7*:5 + =dev-qt/qtsql-5.15.7*:5 + =dev-qt/qtwidgets-5.15.7*:5 + ) + ( + =dev-qt/qtcore-5.15.5*:5 + =dev-qt/qtgui-5.15.5*:5 + =dev-qt/qthelp-5.15.5*:5 + =dev-qt/qtsql-5.15.5*:5 + =dev-qt/qtwidgets-5.15.5*:5 + ) + ) )" ;; false) ;; |