dev-qt/qtwebkit: fix src_install sanity check on prefix
authorDavide Pesavento <pesa@gentoo.org>
Thu, 5 Jul 2018 16:46:37 +0000 (18:46 +0200)
committerDavide Pesavento <pesa@gentoo.org>
Thu, 5 Jul 2018 17:06:11 +0000 (19:06 +0200)
Bug: https://bugs.gentoo.org/572056
Package-Manager: Portage-2.3.41, Repoman-2.3.9

dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild

index 506e3879d3402c7fdb405d5470e2d24f472b96c5..731937dcc710e0ace687ab7d369fdc76c7d510ed 100644 (file)
@@ -98,7 +98,7 @@ pkg_setup() {
 }
 
 src_configure() {
-       # Respect CC, otherwise fails on prefix #395875
+       # Respect CC, otherwise fails on prefix, bug #395875
        tc-export CC
 
        # Multiple rendering bugs on youtube, github, etc without this, bug #547224
@@ -134,7 +134,7 @@ src_install() {
        cmake-utils_src_install
 
        # bug 572056
-       if [[ ! -f ${D%/}$(qt5_get_libdir)/libQt5WebKit.so ]]; then
+       if [[ ! -f ${ED%/}$(qt5_get_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