summaryrefslogtreecommitdiff
path: root/sys-devel/gettext/files/gettext-0.21_rc1-avoid_eautomake.patch
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-11-19 22:36:37 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-11-19 22:36:37 +0100
commitfebcfdbcc083a947b794106847352d1a0636d6ac (patch)
tree25a3126dab5f7a3a26ef8f6b16d09316a7eda4ea /sys-devel/gettext/files/gettext-0.21_rc1-avoid_eautomake.patch
parenta52416fb39087556c76e912eda898bc6057c06e9 (diff)
downloadgentoo-febcfdbcc083a947b794106847352d1a0636d6ac.tar.gz
gentoo-febcfdbcc083a947b794106847352d1a0636d6ac.tar.bz2
gentoo-febcfdbcc083a947b794106847352d1a0636d6ac.zip
Revert "sys-devel/gettext: drop 0.21.1, 0.22.4"
This reverts commit 7a602cea9c2a68e6f0307b40b81cd65fb775a4ff. Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-devel/gettext/files/gettext-0.21_rc1-avoid_eautomake.patch')
-rw-r--r--sys-devel/gettext/files/gettext-0.21_rc1-avoid_eautomake.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-devel/gettext/files/gettext-0.21_rc1-avoid_eautomake.patch b/sys-devel/gettext/files/gettext-0.21_rc1-avoid_eautomake.patch
new file mode 100644
index 000000000000..8adae5d5484a
--- /dev/null
+++ b/sys-devel/gettext/files/gettext-0.21_rc1-avoid_eautomake.patch
@@ -0,0 +1,22 @@
+--- gettext-0.21-rc1/gettext-tools/src/Makefile.in
++++ gettext-0.21-rc1/gettext-tools/src/Makefile.in
+@@ -4106,9 +4106,16 @@
+
+ # How to get the include files of libtextstyle.
+ @USE_INSTALLED_LIBTEXTSTYLE_FALSE@textstyle.h textstyle/stdbool.h textstyle/version.h textstyle/woe32dll.h:
+-@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ here=`pwd`; \
+-@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ cd ../../libtextstyle/lib && \
+-@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ $(MAKE) install-nobase_includeHEADERS install-nobase_nodist_includeHEADERS includedir="$$here"
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ cd "$(abs_top_builddir)/../libtextstyle/lib" && $(MAKE) $@
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ if test -f "$(abs_top_builddir)/../libtextstyle/lib/$@"; then \
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ file="$(abs_top_builddir)/../libtextstyle/lib/$@"; \
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ else \
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ file="$(abs_top_srcdir)/../libtextstyle/lib/$@"; \
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ fi; \
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ target_dir="$(abs_builddir)/$@"; \
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ target_dir="$${target_dir%/*}"; \
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ $(MKDIR_P) "$${target_dir}"; \
++@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ $(INSTALL_HEADER) "$$file" $@
+
+ # No need to install libgettextsrc.a, except on AIX.
+ install-exec-hook: install-exec-clean