[openwrt/openwrt] gettext-full: fix m4 path after gettextize update
LEDE Commits
lede-commits at lists.infradead.org
Thu Jul 31 13:42:41 PDT 2025
nick pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/40ad990ebf96e979ffff528de72823f8e6583a4c
commit 40ad990ebf96e979ffff528de72823f8e6583a4c
Author: Nick Hainke <vincent at systemli.org>
AuthorDate: Thu Jul 31 18:05:07 2025 +0200
gettext-full: fix m4 path after gettextize update
Recent changes to gettextize altered the default path for .m4 files from
$datadir/aclocal to $datadir/gettext/m4 [0]. This caused build issues when
compiling gettext-full in OpenWrt.
This patch, originally provided by @nxhack [1], updates the OpenWrt
Makefile accordingly to ensure compatibility with the new path.
[0] https://gitweb.git.savannah.gnu.org/gitweb/?p=gettext.git;a=commit;h=fa98427c774aad9dade7702becc2c3eef5a8434d
[1] https://github.com/openwrt/openwrt/commit/da541f7acd62bc33e7b0a891cf65a39d4bfe0b96#commitcomment-163048847
Fixes: da541f7acd62 ("gettext-full: update to 0.24.1")
Link: https://github.com/openwrt/openwrt/pull/19614
Signed-off-by: Nick Hainke <vincent at systemli.org>
---
package/libs/gettext-full/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile
index 405243240f..6441677be7 100644
--- a/package/libs/gettext-full/Makefile
+++ b/package/libs/gettext-full/Makefile
@@ -163,8 +163,8 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib/libintl-full/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libintl.{a,so*} $(1)/usr/lib/libintl-full/lib/
- $(INSTALL_DIR) $(1)/usr/share/aclocal
- $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/* $(1)/usr/share/aclocal/
+ $(INSTALL_DIR) $(1)/usr/share/gettext/m4
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/gettext/m4/* $(1)/usr/share/gettext/m4/
$(SED) '/read dummy/d' $(STAGING_DIR_HOSTPKG)/bin/gettextize
endef
More information about the lede-commits
mailing list