projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef26088
)
qt5-build.eclass: fix test dependency logic
author
Michael Palimaka
<kensington@gentoo.org>
Thu, 12 Oct 2017 11:26:44 +0000
(22:26 +1100)
committer
Michael Palimaka
<kensington@gentoo.org>
Thu, 12 Oct 2017 11:27:05 +0000
(22:27 +1100)
Thanks to Arfrever for pointing this out.
eclass/qt5-build.eclass
patch
|
blob
|
history
diff --git
a/eclass/qt5-build.eclass
b/eclass/qt5-build.eclass
index 76dfc9b425ae91b20933a3c3f95c4fe01cfc32d7..11847bcf013991d16ec1787ffac51d9cb05722ac 100644
(file)
--- 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="