Commit 708818aa authored by Baruch Siach's avatar Baruch Siach Committed by Peter Korsgaard
Browse files

dos2unix: remove host-gettext dependency from host package

parent 966968c8
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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))