commit: 988e7dc00c80b121d5ab46115312934492503344
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 11:26:44 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 11:27:05 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=988e7dc0
qt5-build.eclass: fix test dependency logic
Thanks to Arfrever for pointing this out.
eclass/qt5-build.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 76dfc9b425a..11847bcf013 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -114,7 +114,7 @@ DEPEND="
dev-lang/perl
virtual/pkgconfig
"
-if [[ ${PN} != qttest && (${PN} != qtwebkit && ${QT5_MINOR_VERSION} -ge 9) ]];
then
+if [[ (${PN} != qttest && ${PN} != qtwebkit) || (${PN} == qtwebkit &&
${QT5_MINOR_VERSION} -lt 9) ]]; then
DEPEND+=" test? ( ~dev-qt/qttest-${PV} )"
fi
RDEPEND="