dos2unix: needs host-gettext
authorBaruch Siach <baruch@tkos.co.il>
Tue, 29 Sep 2015 06:55:48 +0000 (09:55 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 29 Sep 2015 22:20:30 +0000 (00:20 +0200)
dos2unix uses xgettext to generate its .pot file.

Fixes:
http://autobuild.buildroot.net/results/eda/eda7eeb2fdf7a22c299858ac99d1b1953b15575e/
http://autobuild.buildroot.net/results/aaf/aaf2b77f964eb6259e2e4b1d5a13838c3a1eef21/
http://autobuild.buildroot.net/results/922/92289b63ebdf133ab910f058ffca8ba34e574208/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dos2unix/dos2unix.mk

index 55608c653f9ca771fc372c5a3a2e139865182372..f448e1406d5fde19d0559f8ef89761459a717e6b 100644 (file)
@@ -11,7 +11,9 @@ DOS2UNIX_LICENSE_FILES = COPYING.txt
 DOS2UNIX_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
 HOST_DOS2UNIX_DEPENDENCIES =
 
-ifeq ($(BR2_ENABLE_LOCALE),)
+ifeq ($(BR2_ENABLE_LOCALE),y)
+DOS2UNIX_DEPENDENCIES += host-gettext
+else
 DOS2UNIX_MAKE_OPTS += ENABLE_NLS=
 endif