diff options
author | Ismael Luceno | 2020-09-09 18:45:11 +0200 |
---|---|---|
committer | Ismael Luceno | 2020-09-09 18:47:59 +0200 |
commit | 203935654283e7de5bdb67a58b86fdc354276da7 (patch) | |
tree | 5282db3861c68794d18a36466420433ddd05a33b /antivirus | |
parent | 5b89bc061a7b5ac1d0c177cd86e6c8d7ea4d96b8 (diff) |
clamav: Fix building against musl
Diffstat (limited to 'antivirus')
-rwxr-xr-x | antivirus/clamav/BUILD | 4 | ||||
-rwxr-xr-x | antivirus/clamav/DEPENDS | 5 | ||||
-rw-r--r-- | antivirus/clamav/HISTORY | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/antivirus/clamav/BUILD b/antivirus/clamav/BUILD index e11be9b2b6..589444d62b 100755 --- a/antivirus/clamav/BUILD +++ b/antivirus/clamav/BUILD @@ -2,4 +2,8 @@ create_account clamav && OPTS="${CLAM_EXP} ${CLAM_IP6} $OPTS" && +if is_depends_enabled $SPELL musl-fts; then + LDFLAGS+=" -lfts" +fi && + default_build diff --git a/antivirus/clamav/DEPENDS b/antivirus/clamav/DEPENDS index d1b3f9dcbb..5673331169 100755 --- a/antivirus/clamav/DEPENDS +++ b/antivirus/clamav/DEPENDS @@ -1,3 +1,8 @@ +case "$HOST" in + *-musl) + depends musl-fts + ;; +esac && depends -sub CXX gcc && depends zlib '--disable-zlib-vcheck' && depends curl && diff --git a/antivirus/clamav/HISTORY b/antivirus/clamav/HISTORY index 79d606848c..fc62d91573 100644 --- a/antivirus/clamav/HISTORY +++ b/antivirus/clamav/HISTORY @@ -1,5 +1,6 @@ 2020-09-09 Ismael Luceno <ismael@sourcemage.org> * DETAILS: updated spell to 0.102.4 + * DEPENDS, BUILD: fixed compiling against musl 2020-05-20 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 1,102.3 |