app-antivirus/clamav: fix dependencies in libpcre & libpcre2
authorcoyote <coyote@bks.tv>
Fri, 24 Nov 2017 13:53:32 +0000 (16:53 +0300)
committerRobin H. Johnson <robbat2@gentoo.org>
Fri, 24 Nov 2017 18:22:21 +0000 (10:22 -0800)
Closes: https://bugs.gentoo.org/628068
Closes: https://bugs.gentoo.org/603940
(cherry picked from commit ba70bffd9067212f57640d39dfb051c92dbab1dc)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/6280

app-antivirus/clamav/clamav-0.99.2-r1.ebuild

index a44017407cfa79e36913a7903669e71a753c2269..ec11c3e098f856c9b0dc29499aeb84c1a16a30b2 100644 (file)
@@ -24,7 +24,7 @@ CDEPEND="bzip2? ( app-arch/bzip2 )
        !libressl? ( dev-libs/openssl:0= )
        libressl? ( dev-libs/libressl:0= )
        sys-devel/libtool
-       >dev-libs/libpcre-6
+       || ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
        !!<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