dos2unix: Deactivate NLS support

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>
This commit is contained in:
Hauke Mehrtens 2022-12-18 15:06:12 +01:00 committed by Tianling Shen
parent b1bb8db946
commit 06229e0fe6
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
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/ \
@ -22,7 +22,7 @@ PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
MAKE_FLAGS+= D2U_OS=Linux
MAKE_FLAGS+= D2U_OS=Linux ENABLE_NLS=
define dos2unix/template
define Package/$(1)