dos2unix: remove host-gettext dependency from host package
authorBaruch Siach <baruch@tkos.co.il>
Thu, 3 Sep 2015 04:10:53 +0000 (07:10 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 4 Sep 2015 15:05:43 +0000 (17:05 +0200)
This shortens build time.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dos2unix/dos2unix.mk

index 4c5f4fcff384c701bcb2f9d785ba1be6328a6e45..55608c653f9ca771fc372c5a3a2e139865182372 100644 (file)
@@ -9,7 +9,7 @@ DOS2UNIX_SITE = http://waterlan.home.xs4all.nl/dos2unix
 DOS2UNIX_LICENSE = BSD-2c
 DOS2UNIX_LICENSE_FILES = COPYING.txt
 DOS2UNIX_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
-HOST_DOS2UNIX_DEPENDENCIES = host-gettext
+HOST_DOS2UNIX_DEPENDENCIES =
 
 ifeq ($(BR2_ENABLE_LOCALE),)
 DOS2UNIX_MAKE_OPTS += ENABLE_NLS=
@@ -34,11 +34,12 @@ define DOS2UNIX_INSTALL_TARGET_CMDS
 endef
 
 define HOST_DOS2UNIX_BUILD_CMDS
-       $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+       $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) ENABLE_NLS=
 endef
 
 define HOST_DOS2UNIX_INSTALL_CMDS
-       $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install
+       $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) ENABLE_NLS= \
+               install
 endef
 
 $(eval $(generic-package))