diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-02 15:57:16 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-11-25 23:40:47 +0100 |
commit | e0111ad5724381c50bab5911be5a5cfe5a6c57d6 (patch) | |
tree | 61218c32415699921b089eb8a710a95ec1b7de9d /eclass | |
parent | dev-qt: Add Qt 5.15.2 (diff) | |
download | gentoo-e0111ad5724381c50bab5911be5a5cfe5a6c57d6.tar.gz gentoo-e0111ad5724381c50bab5911be5a5cfe5a6c57d6.tar.bz2 gentoo-e0111ad5724381c50bab5911be5a5cfe5a6c57d6.zip |
qt5-build.eclass: Limit RDEPEND on qtchooser to Qt versions <5.15.2
Qt 5.15.2 and above will depend on dev-qt/qtchooser selectively.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt5-build.eclass | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index ad7f6a64a447..dce88d642cc0 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -112,10 +112,9 @@ BDEPEND=" if [[ ${PN} != qttest ]]; then DEPEND+=" test? ( ~dev-qt/qttest-${PV} )" fi -RDEPEND=" - dev-qt/qtchooser -" - +if ver_test ${PV} -lt 5.15.2; then + RDEPEND+=" dev-qt/qtchooser" +fi ###### Phase functions ###### |