commit:     854fe23b4b7a94a5f65377f486d9cdf314145177
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 30 11:24:24 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Sep 30 11:33:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854fe23b

app-antivirus/clamav: add lower bound on sys-devel/autoconf.

We need the runstatedir patch that was added in autoconf-2.69-r5, so
this commit adds the lower bound in BDEPEND. This should ensure that
anyone upgrading after a few months pulls in the new autoconf before
the new clamav.

Closes: https://bugs.gentoo.org/744640
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-antivirus/clamav/clamav-0.103.0-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-antivirus/clamav/clamav-0.103.0-r1.ebuild 
b/app-antivirus/clamav/clamav-0.103.0-r1.ebuild
index 4217bc62b77..52721c9856a 100644
--- a/app-antivirus/clamav/clamav-0.103.0-r1.ebuild
+++ b/app-antivirus/clamav/clamav-0.103.0-r1.ebuild
@@ -39,7 +39,10 @@ CDEPEND="acct-group/clamav
        milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
        xml? ( dev-libs/libxml2 )"
 
-BDEPEND="virtual/pkgconfig"
+# We need at least autoconf-2.69-r5 because that's the first (patched)
+# version of it in Gentoo that supports ./configure --runstatedir.
+BDEPEND=">=sys-devel/autoconf-2.69-r5
+       virtual/pkgconfig"
 
 DEPEND="${CDEPEND}
        metadata-analysis-api? ( dev-libs/json-c:* )

Reply via email to