From: Michael Palimaka Date: Thu, 12 Oct 2017 11:26:44 +0000 (+1100) Subject: qt5-build.eclass: fix test dependency logic X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=988e7dc00c80b121d5ab46115312934492503344;p=gentoo.git qt5-build.eclass: fix test dependency logic Thanks to Arfrever for pointing this out. --- diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 76dfc9b425ae..11847bcf0139 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="