By default the dos2unix build uses the msgfmt application which is
provided by the host tool gettext in OpenWrt. Instead of adding the
dependency to gettext deactivate NLS support.
This fixes the following build error:
-------------------------------------------
msgfmt -c po/da.po -o po/da.mo
make[4]: msgfmt: No such file or directory
make[4]: *** [Makefile:472: po/da.mo] Error 127
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
PKG_NAME:=dos2unix
PKG_VERSION:=7.4.3
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://waterlan.home.xs4all.nl/dos2unix/ \
include $(INCLUDE_DIR)/package.mk
-MAKE_FLAGS+= D2U_OS=Linux
+MAKE_FLAGS+= D2U_OS=Linux ENABLE_NLS=
define dos2unix/template
define Package/$(1)