commit:     b6c8b00f24bf1a62d3bf9ecd1af1f7889427246c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 19 07:34:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 19 07:43:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c8b00f

app-antivirus/clamav: generate docs w/ doxygen with USE=doc

Bug: https://bugs.gentoo.org/818892
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/app-antivirus/clamav/clamav-0.104.0-r1.ebuild 
b/app-antivirus/clamav/clamav-0.104.0-r1.ebuild
index 04e7fc44c16..138b4e8373b 100644
--- a/app-antivirus/clamav/clamav-0.104.0-r1.ebuild
+++ b/app-antivirus/clamav/clamav-0.104.0-r1.ebuild
@@ -43,7 +43,8 @@ CDEPEND="acct-group/clamav
        test? ( dev-python/pytest )"
 # TODO: there is no way to use this with the new build system instead of the 
bundled one
 #      dev-libs/tomsfastmath
-BDEPEND="virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig
+       doc? ( app-doc/doxygen )"
 DEPEND="${CDEPEND}
        test? ( dev-libs/check )"
 RDEPEND="${CDEPEND}
@@ -72,6 +73,7 @@ src_configure() {
                -DOPTIMIZE=ON
                -DENABLE_EXTERNAL_MSPACK=ON
                -DENABLE_MAN_PAGES=ON
+               -DENABLE_DOXYGEN=$(usex doc)
                -DENABLE_UNRAR=$(usex rar ON OFF)
                -DENABLE_TESTS=$(usex test ON OFF)
                -DENABLE_STATIC_LIB=OFF

Reply via email to