Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
}
src_test() {
- if tc-is-gcc; then
- # LTO fails for static libs because the bfd plugin in missing.
- # Remove this workaround after sys-devel/gcc-config-2.0 is stable.
- # https://bugs.gentoo.org/672706
- tc-getPROG AR gcc-ar >/dev/null
- fi
+ # This is needed because upstream doesn't support installing qtcore
+ # without qtgui in the test suite.
+ # https://bugs.gentoo.org/show_bug.cgi?id=678664
+ has_version 'dev-qt/qtcore' && ! has_version 'dev-qt/qtgui' &&
+ rm -rf "test cases/frameworks/4 qt"
distutils-r1_src_test
}