commit:     d5a402514fa556d9f54626f375d3f44c1b4982a4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 15 07:28:12 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 15 07:39:15 2021 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=d5a40251

dev-qt/qtwebengine: Fix .qmake.conf

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild 
b/dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild
index 73744694..3e77c7f4 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.2.9999.ebuild
@@ -135,11 +135,10 @@ src_prepare() {
        if [[ ${PV} == ${QT5_PV}_p* ]]; then
                # This is made from git, and for some reason will fail w/o .git 
directories.
                mkdir -p .git src/3rdparty/chromium/.git || die
-
-               # We need to make sure this integrates well into Qt 5.15.2 
installation.
-               # Otherwise revdeps fail w/o heavy changes. This is the 
simplest way to do it.
-               sed -e "/^MODULE_VERSION/s/5.*/${QT5_PV}*/" -i .qmake.conf || 
die
        fi
+       # We need to make sure this integrates well into Qt 5.15.2 installation.
+       # Otherwise revdeps fail w/o heavy changes. This is the simplest way to 
do it.
+       sed -e "/^MODULE_VERSION/s/5\.15\.[3456789]/${QT5_PV}/" -i .qmake.conf 
|| die
 
        # QTBUG-88657 - jumbo-build could still make trouble
        if ! use jumbo-build; then

Reply via email to