[goffice] autogen.sh: work around intltool bug.



commit 8c982f3b05eea5abbc2120f0c699dd9bb7da37ef
Author: Morten Welinder <terra gnome org>
Date:   Sat Sep 17 16:18:36 2022 -0400

    autogen.sh: work around intltool bug.

 autogen.sh | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/autogen.sh b/autogen.sh
index 1030e6fa..6970b293 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,6 +22,10 @@ glib-gettextize --force --copy || exit 1
 gtkdocize --copy || exit 1
 intltoolize --force --copy --automake || exit 1
 autoreconf --verbose --force --install || exit 1
+
+# Work around intltool bug
+perl -pi -e 's/( \.intltool-merge-cache\b)/\1 .intltool-merge-cache.lock/ if /^\trm\b/;' po/Makefile.in.in
+
 cd $olddir
 
 if [ "$NOCONFIGURE" = "" ]; then


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]