summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2018-01-07 18:56:26 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2018-01-07 21:27:58 +0100
commit6653b0929fc3f4007294e289f88afa3920af2a89 (patch)
tree215c609ebbe02d100c68f9662b9c3bbef378236d
parenta27ef82d51591405e20ab57779fe9dffdb66e42b (diff)
downloadbuildroot-6653b0929fc3f4007294e289f88afa3920af2a89.tar.gz
buildroot-6653b0929fc3f4007294e289f88afa3920af2a89.zip
package/x11r7/xlib_libXpm: disable gettext detection when not needed
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@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/x11r7/xlib_libXpm/xlib_libXpm.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/package/x11r7/xlib_libXpm/xlib_libXpm.mk
index e781a8b518..09f897ea09 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))
OpenPOWER on IntegriCloud