diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2023-08-19 19:34:27 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-08-20 09:24:05 +0300 |
commit | b71db11c9c7b4b0d79de03f603f4398f3cf2f3a3 (patch) | |
tree | a654a4799a0a2e1388e55bf0a815b13d3214a210 /net-dialup/lrzsz/files | |
parent | dev-perl/Mail-Message: Stabilize 3.13.0 x86, #912507 (diff) | |
download | gentoo-b71db11c9c7b4b0d79de03f603f4398f3cf2f3a3.tar.gz gentoo-b71db11c9c7b4b0d79de03f603f4398f3cf2f3a3.tar.bz2 gentoo-b71db11c9c7b4b0d79de03f603f4398f3cf2f3a3.zip |
net-dialup/lrzsz: fix installation without gettext
If gettext is not installed, eautoreconf breaks the package. Embed
required m4 files to fix this.
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-dialup/lrzsz/files')
-rw-r--r-- | net-dialup/lrzsz/files/lrzsz-0.12.20-disable-nls.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-dialup/lrzsz/files/lrzsz-0.12.20-disable-nls.patch b/net-dialup/lrzsz/files/lrzsz-0.12.20-disable-nls.patch new file mode 100644 index 000000000000..b0f290e71564 --- /dev/null +++ b/net-dialup/lrzsz/files/lrzsz-0.12.20-disable-nls.patch @@ -0,0 +1,25 @@ +This package does not contain the m4 macros from gettext, so if gettext is not +installed the macros are lost when running eautoreconf. + +Embed the required m4 files and add the directory to configure.ac. + +--- a/Makefile.am ++++ b/Makefile.am +@@ -5,6 +5,7 @@ + noinst_SCRIPTS=systype + PR=@PACKAGE@-@VERSION@ + CLEAN_FILES=fastcheck.done ++AC_CONFIG_MACRO_DIR=-I m4 + + dist-hook: + mkdir $(distdir)/debian +--- a/configure.in ++++ b/configure.in +@@ -3,6 +3,7 @@ + AC_INIT(src/crctab.c) + AM_INIT_AUTOMAKE(lrzsz, 0.12.20) + AC_CONFIG_HEADERS([config.h]) ++AC_CONFIG_MACRO_DIR([m4]) + + + dnl AC_C_CROSS is in AC_PROG_CC since 2.12 |