app-antivirus/clamav: add support for musl
authorAnthony G. Basile <blueness@gentoo.org>
Sat, 29 Dec 2018 15:46:34 +0000 (10:46 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 29 Dec 2018 15:46:34 +0000 (10:46 -0500)
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

app-antivirus/clamav/clamav-0.100.1-r1.ebuild
app-antivirus/clamav/clamav-0.100.2.ebuild
app-antivirus/clamav/clamav-0.101.0.ebuild

index c8f5513c563cb394791065ff726980df99a446f2..f86c5fdd38d6d25a811780107ea245abbba92f0f 100644 (file)
@@ -25,6 +25,7 @@ CDEPEND="bzip2? ( app-arch/bzip2 )
        sys-devel/libtool
        || ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
        system-libmspack? ( dev-libs/libmspack )
+       elibc_musl? ( sys-libs/fts-standalone )
        !!<app-antivirus/clamav-0.99"
 # hard block clamav < 0.99 due to linking problems Bug #567680
 # openssl is now *required* see this link as to why
@@ -54,6 +55,7 @@ src_prepare() {
 }
 
 src_configure() {
+       use elibc_musl && append-ldflags -lfts
        use ppc64 && append-flags -mminimal-toc
        use uclibc && export ac_cv_type_error_t=yes
 
index aa24c3f02f14a226ac8e1c653f5691447c12316c..fd98bc0029f3a9991ff8eded5776e1641f152090 100644 (file)
@@ -26,6 +26,7 @@ CDEPEND="bzip2? ( app-arch/bzip2 )
        || ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
        dev-libs/libmspack
        xml? ( dev-libs/libxml2 )
+       elibc_musl? ( sys-libs/fts-standalone )
        !!<app-antivirus/clamav-0.99"
 # hard block clamav < 0.99 due to linking problems Bug #567680
 # openssl is now *required* see this link as to why
@@ -55,6 +56,7 @@ src_prepare() {
 }
 
 src_configure() {
+       use elibc_musl && append-ldflags -lfts
        use ppc64 && append-flags -mminimal-toc
        use uclibc && export ac_cv_type_error_t=yes
 
index ac686da8a562987dbb9e916d676c4df8762a5682..5f65942960dae95a96ff11048e83dcce7abb105a 100644 (file)
@@ -26,6 +26,7 @@ CDEPEND="bzip2? ( app-arch/bzip2 )
        || ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
        dev-libs/libmspack
        xml? ( dev-libs/libxml2 )
+       elibc_musl? ( sys-libs/fts-standalone )
        !!<app-antivirus/clamav-0.99"
 # hard block clamav < 0.99 due to linking problems Bug #567680
 # openssl is now *required* see this link as to why
@@ -55,6 +56,7 @@ pkg_setup() {
 #}
 
 src_configure() {
+       use elibc_musl && append-ldflags -lfts
        use ppc64 && append-flags -mminimal-toc
        use uclibc && export ac_cv_type_error_t=yes