Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/
Date: Sat, 29 Dec 2018 15:46:58
Message-Id: 1546098394.932704acba7b24776b8ed877b6d79eeb92e2f9f4.blueness@gentoo
1 commit: 932704acba7b24776b8ed877b6d79eeb92e2f9f4
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 29 15:46:34 2018 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 29 15:46:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932704ac
7
8 app-antivirus/clamav: add support for musl
9
10 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 app-antivirus/clamav/clamav-0.100.1-r1.ebuild | 2 ++
14 app-antivirus/clamav/clamav-0.100.2.ebuild | 2 ++
15 app-antivirus/clamav/clamav-0.101.0.ebuild | 2 ++
16 3 files changed, 6 insertions(+)
17
18 diff --git a/app-antivirus/clamav/clamav-0.100.1-r1.ebuild b/app-antivirus/clamav/clamav-0.100.1-r1.ebuild
19 index c8f5513c563..f86c5fdd38d 100644
20 --- a/app-antivirus/clamav/clamav-0.100.1-r1.ebuild
21 +++ b/app-antivirus/clamav/clamav-0.100.1-r1.ebuild
22 @@ -25,6 +25,7 @@ CDEPEND="bzip2? ( app-arch/bzip2 )
23 sys-devel/libtool
24 || ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
25 system-libmspack? ( dev-libs/libmspack )
26 + elibc_musl? ( sys-libs/fts-standalone )
27 !!<app-antivirus/clamav-0.99"
28 # hard block clamav < 0.99 due to linking problems Bug #567680
29 # openssl is now *required* see this link as to why
30 @@ -54,6 +55,7 @@ src_prepare() {
31 }
32
33 src_configure() {
34 + use elibc_musl && append-ldflags -lfts
35 use ppc64 && append-flags -mminimal-toc
36 use uclibc && export ac_cv_type_error_t=yes
37
38
39 diff --git a/app-antivirus/clamav/clamav-0.100.2.ebuild b/app-antivirus/clamav/clamav-0.100.2.ebuild
40 index aa24c3f02f1..fd98bc0029f 100644
41 --- a/app-antivirus/clamav/clamav-0.100.2.ebuild
42 +++ b/app-antivirus/clamav/clamav-0.100.2.ebuild
43 @@ -26,6 +26,7 @@ CDEPEND="bzip2? ( app-arch/bzip2 )
44 || ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
45 dev-libs/libmspack
46 xml? ( dev-libs/libxml2 )
47 + elibc_musl? ( sys-libs/fts-standalone )
48 !!<app-antivirus/clamav-0.99"
49 # hard block clamav < 0.99 due to linking problems Bug #567680
50 # openssl is now *required* see this link as to why
51 @@ -55,6 +56,7 @@ src_prepare() {
52 }
53
54 src_configure() {
55 + use elibc_musl && append-ldflags -lfts
56 use ppc64 && append-flags -mminimal-toc
57 use uclibc && export ac_cv_type_error_t=yes
58
59
60 diff --git a/app-antivirus/clamav/clamav-0.101.0.ebuild b/app-antivirus/clamav/clamav-0.101.0.ebuild
61 index ac686da8a56..5f65942960d 100644
62 --- a/app-antivirus/clamav/clamav-0.101.0.ebuild
63 +++ b/app-antivirus/clamav/clamav-0.101.0.ebuild
64 @@ -26,6 +26,7 @@ CDEPEND="bzip2? ( app-arch/bzip2 )
65 || ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
66 dev-libs/libmspack
67 xml? ( dev-libs/libxml2 )
68 + elibc_musl? ( sys-libs/fts-standalone )
69 !!<app-antivirus/clamav-0.99"
70 # hard block clamav < 0.99 due to linking problems Bug #567680
71 # openssl is now *required* see this link as to why
72 @@ -55,6 +56,7 @@ pkg_setup() {
73 #}
74
75 src_configure() {
76 + use elibc_musl && append-ldflags -lfts
77 use ppc64 && append-flags -mminimal-toc
78 use uclibc && export ac_cv_type_error_t=yes