commit: 7f211f960a4b79ce23572e2325c758b788bfdc45
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 24 02:28:02 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Jun 24 02:29:41 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f211f96
dev-qt/qtwebkit: die if nothing is built
Gentoo-bug: 572056
Package-Manager: Portage-2.3.5, Repoman-2.3.2
dev-qt/qtwebkit/qtwebkit-5.7.1.ebuild | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/dev-qt/qtwebkit/qtwebkit-5.7.1.ebuild
b/dev-qt/qtwebkit/qtwebkit-5.7.1.ebuild
index a46c5c9563f..8b06b94b888 100644
--- a/dev-qt/qtwebkit/qtwebkit-5.7.1.ebuild
+++ b/dev-qt/qtwebkit/qtwebkit-5.7.1.ebuild
@@ -107,3 +107,13 @@ src_prepare() {
qt5-build_src_prepare
}
+
+src_install() {
+ qt5-build_src_install
+
+ # bug 572056
+ if [[ ! -f ${D%/}${QT5_LIBDIR}/libQt5WebKit.so ]]; then
+ eerror "${CATEGORY}/${PF} could not build due to a broken ruby
environment."
+ die 'Check "eselect ruby" and ensure you have a working ruby in
your $PATH'
+ fi
+}