From: Josef Schlehofer Date: Wed, 14 Apr 2021 23:02:34 +0000 (+0200) Subject: clamav: add libiconv dependencies when build with NLS X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=87be6ffe6076778336f7db752fee0ef5f3f923e8;p=openwrt-packages.git clamav: add libiconv dependencies when build with NLS NLS means Native Language Support and when you have it enabled (it is not default), clamav can not be compiled as it shows following error: Package clamav is missing dependencies for the following libraries: libiconv.so.2 Also, it is required that package libiconv-full is compiled first/before than clamav and then try to compile clamav. Signed-off-by: Josef Schlehofer --- diff --git a/net/clamav/Makefile b/net/clamav/Makefile index abb59769a..0e0787097 100644 --- a/net/clamav/Makefile +++ b/net/clamav/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=clamav PKG_VERSION:=0.103.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.clamav.net/downloads/production/ @@ -29,7 +29,7 @@ include ../../devel/ninja/ninja-cmake.mk define Package/clamav/Default SECTION:=net - DEPENDS:=+libstdcpp +libpthread +zlib +libbz2 +libxml2 +libcurl +libjson-c +libmilter-sendmail +libopenssl +libltdl +libpcre2 + DEPENDS:=+libstdcpp +libpthread +zlib +libbz2 +libxml2 +libcurl +libjson-c +libmilter-sendmail +libopenssl +libltdl +libpcre2 $(ICONV_DEPENDS) CATEGORY:=Network SUBMENU:=Web Servers/Proxies TITLE:=ClamAV