diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-06-24 12:28:02 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-06-24 12:29:41 +1000 |
commit | 7f211f960a4b79ce23572e2325c758b788bfdc45 (patch) | |
tree | f99328af8d032be44a631bbbaf58ceac179f24e2 /dev-qt/qtwebkit | |
parent | net-p2p/transmission-remote-gtk: remove old (diff) | |
download | gentoo-7f211f960a4b79ce23572e2325c758b788bfdc45.tar.gz gentoo-7f211f960a4b79ce23572e2325c758b788bfdc45.tar.bz2 gentoo-7f211f960a4b79ce23572e2325c758b788bfdc45.zip |
dev-qt/qtwebkit: die if nothing is built
Gentoo-bug: 572056
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-qt/qtwebkit')
-rw-r--r-- | dev-qt/qtwebkit/qtwebkit-5.7.1.ebuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-qt/qtwebkit/qtwebkit-5.7.1.ebuild b/dev-qt/qtwebkit/qtwebkit-5.7.1.ebuild index a46c5c9563fd..8b06b94b8886 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 +} |