summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-qt/qtwebengine/qtwebengine-5.15.2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.2.ebuild b/dev-qt/qtwebengine/qtwebengine-5.15.2.ebuild
index 4dadfbefc9fe..ae2669805a14 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.15.2.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.2.ebuild
@@ -131,7 +131,11 @@ src_prepare() {
mkdir -vp source/config/linux/ppc64 || die
mkdir -p source/libvpx/test || die
touch source/libvpx/test/test.mk || die
+ # generate_gni.sh runs git at the end of process, prevent it.
+ git() { : ; }
+ export -f git
./generate_gni.sh || die
+ unset git
popd >/dev/null || die
fi
}