[packages/freetype1] AM_GNU_GETTEXT supports only external configuration now

atler atler at pld-linux.org
Thu Apr 30 15:02:39 CEST 2020


commit 601a1edc1abd1b08b27239fe1fb3f453b535adea
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Apr 30 13:01:15 2020 +0000

    AM_GNU_GETTEXT supports only external configuration now

 freetype1.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/freetype1.spec b/freetype1.spec
index a73c4a4..447d287 100644
--- a/freetype1.spec
+++ b/freetype1.spec
@@ -130,7 +130,10 @@ Przykładowe aplikacje wykorzystujące freetype:
 install /usr/share/automake/missing .
 %{__gettextize}
 # gettextize stupidity (doesn't see intl/Makefile in next lines after AC_OUTPUT)
-sed -e 's@\(AC_OUTPUT.*\) intl/Makefile@\1@' configure.in > configure.in.tmp
+sed -e 's@\(AC_OUTPUT.*\) intl/Makefile@\1@' \
+	-e 's at AM_GNU_GETTEXT.*@AM_GNU_GETTEXT([external])@' \
+	-e 's at intl/Makefile@@' \
+        configure.in > configure.in.tmp
 mv -f configure.in.tmp configure.in
 %{__libtoolize}
 %{__aclocal}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/freetype1.git/commitdiff/601a1edc1abd1b08b27239fe1fb3f453b535adea



More information about the pld-cvs-commit mailing list