dev-qt/qtwebengine: die if nothing is built
authorMichael Palimaka <kensington@gentoo.org>
Sat, 24 Jun 2017 02:29:30 +0000 (12:29 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 24 Jun 2017 02:29:41 +0000 (12:29 +1000)
Gentoo-bug: 601472
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-qt/qtwebengine/qtwebengine-5.7.1-r1.ebuild

index 0542aa911b0a83d3a15fe25d9e953610f848dbdd..743f53271320e82b8204acd4b3d6a7eb376d3b52 100644 (file)
@@ -113,5 +113,10 @@ src_configure() {
 src_install() {
        qt5-build_src_install
 
+       # bug 601472
+       if [[ ! -f ${D%/}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then
+               die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"
+       fi
+
        pax-mark m "${D%/}${QT5_LIBEXECDIR}"/QtWebEngineProcess
 }