[Buildroot] [git commit branch/2017.11.x] package/x11r7/xlib_libXpm: disable gettext detection when not needed

Peter Korsgaard peter at korsgaard.com
Mon Jan 8 21:39:07 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=9d2c1a7146707ae66cc4c031bce89e22339e077e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.11.x

Patch originates from FreeBSD:
https://lists.freebsd.org/pipermail/freebsd-x11/2015-July/016528.html
https://svnweb.freebsd.org/ports/head/x11/libXpm/Makefile?r1=384234&r2=391122&pathrev=391122

Fixes
http://autobuild.buildroot.net/results/f24/f24dc74c111690f068833ff6fc72df9a0853d210/

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 6653b0929fc3f4007294e289f88afa3920af2a89)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/x11r7/xlib_libXpm/xlib_libXpm.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk
index e781a8b..09f897e 100644
--- a/package/x11r7/xlib_libXpm/xlib_libXpm.mk
+++ b/package/x11r7/xlib_libXpm/xlib_libXpm.mk
@@ -16,4 +16,8 @@ XLIB_LIBXPM_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXt xproto_xproto \
 	$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
 	$(TARGET_NLS_DEPENDENCIES)
 
+ifeq ($(BR2_SYSTEM_ENABLE_NLS),)
+XLIB_LIBXPM_CONF_ENV = ac_cv_search_gettext=no
+endif
+
 $(eval $(autotools-package))


More information about the buildroot mailing list