From f1e98bd306648870fc776a86bb653c1640547b53 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 3 Jul 2021 21:18:43 +0000 Subject: [PATCH] pango: remove sed -i, remove network requirement --- extra/pango/build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/extra/pango/build b/extra/pango/build index a6cb21e3..1f9e0d86 100755 --- a/extra/pango/build +++ b/extra/pango/build @@ -2,8 +2,13 @@ export DESTDIR="$1" -sed -i "/subdir('tests')/d" meson.build -sed -i "/subdir('examples')/d" meson.build +# First substitution disables weird case where build may try to git clone +# some repository related to documentation. +sed -e "s/'gi-docgen', '/'/" \ + -e "/subdir('tests')/d" \ + -e "/subdir('examples')/d" \ + meson.build > _ +mv -f _ meson.build meson \ --prefix=/usr \