From: Hauke Mehrtens Date: Sun, 18 Dec 2022 14:06:12 +0000 (+0100) Subject: dos2unix: Deactivate NLS support X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=06229e0fe6b15867a672656cc3a01a0a72b19dd9;p=feed%2Fpackages.git 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 --- diff --git a/utils/dos2unix/Makefile b/utils/dos2unix/Makefile index 2326e0c87a..10d6d5f313 100644 --- a/utils/dos2unix/Makefile +++ b/utils/dos2unix/Makefile @@ -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)