From 33b8364f2d70827eb9b1057fbf1417f772fe7d77 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Mon, 6 Mar 2017 14:41:26 +0200 Subject: [PATCH] clamav: depend on musl-fts only when USE_MUSL add me as a maintainer Signed-off-by: Lucian Cristian --- net/clamav/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/net/clamav/Makefile b/net/clamav/Makefile index 180c4b3ea..5cd4487fd 100644 --- a/net/clamav/Makefile +++ b/net/clamav/Makefile @@ -12,11 +12,12 @@ PKG_VERSION:=0.99.2 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 -PKG_MAINTAINER:=Marko Ratkaj +PKG_MAINTAINER:=Marko Ratkaj \ + Lucian Cristian PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.clamav.net/downloads/production/ -PKG_MD5SUM:=61b51a04619aeafd965892a53f86d192 +PKG_HASH:=167bd6a13e05ece326b968fdb539b05c2ffcfef6018a274a10aeda85c2c0027a PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 @@ -26,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk define Package/clamav/Default SECTION:=net - DEPENDS:=+libpthread +uclibcxx +zlib +libcurl +libopenssl +libltdl +libpcre +musl-fts + DEPENDS:=+libpthread +uclibcxx +zlib +libcurl +libopenssl +libltdl +libpcre +USE_MUSL:musl-fts CATEGORY:=Network SUBMENU:=Web Servers/Proxies TITLE:=ClamAV @@ -58,7 +59,7 @@ endef CONFIGURE_VARS += \ INCLUDES="" \ CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \ - LIBS="-lpthread -lfts" \ + $(if $(CONFIG_USE_MUSL),LIBS="-lpthread -lfts",LIBS="-lpthread") \ define Build/Configure $(call Build/Configure/Default, \