dev-qt/qtwebengine: Fix using generated headers
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Sun, 26 Apr 2020 12:57:02 +0000 (12:57 +0000)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 29 Apr 2020 18:08:25 +0000 (20:08 +0200)
Closes: https://bugs.gentoo.org/717122
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-qt/qtwebengine/qtwebengine-5.14.2.ebuild

index 029e99a265a7ae0240ff0c41bc3ec3dfc4ccebe9..a834319edbce1432f6d81b096faf9b76b8bf1159 100644 (file)
@@ -91,7 +91,8 @@ src_prepare() {
                -i src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py || die
 
        # bug 620444 - ensure local headers are used
-       find "${S}" -type f -name "*.pr[fio]" | xargs sed -i -e 's|INCLUDEPATH += |&$$QTWEBENGINE_ROOT/include |' || die
+       find "${S}" -type f -name "*.pr[fio]" | \
+               xargs sed -i -e 's|INCLUDEPATH += |&$${QTWEBENGINE_ROOT}_build/include $${QTWEBENGINE_ROOT}/include |' || die
 
        if use system-icu; then
                # Sanity check to ensure that bundled copy of ICU is not used.