summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-27 13:49:58 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-27 13:49:58 -0800
commit48caab0321a0c86278bd6caf2b995a52673e6f9c (patch)
treec5686e3d4e92d68214bc9c940915e52d28aba226 /dev-qt/qtwebengine/qtwebengine-5.15.2.ebuild
parentdev-qt/qtwebengine: refresh ppc64le patch for 5.15.2 (diff)
downloadgentoo-48caab0321a0c86278bd6caf2b995a52673e6f9c.tar.gz
gentoo-48caab0321a0c86278bd6caf2b995a52673e6f9c.tar.bz2
gentoo-48caab0321a0c86278bd6caf2b995a52673e6f9c.zip
dev-qt/qtwebengine: prevent git from running in src_prepare on ppc64
Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/qtwebengine-5.15.2.ebuild')
-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
}