1 |
commit: b6c8b00f24bf1a62d3bf9ecd1af1f7889427246c |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 19 07:34:46 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 19 07:43:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c8b00f |
7 |
|
8 |
app-antivirus/clamav: generate docs w/ doxygen with USE=doc |
9 |
|
10 |
Bug: https://bugs.gentoo.org/818892 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
app-antivirus/clamav/clamav-0.104.0-r1.ebuild | 4 +++- |
14 |
1 file changed, 3 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/app-antivirus/clamav/clamav-0.104.0-r1.ebuild b/app-antivirus/clamav/clamav-0.104.0-r1.ebuild |
17 |
index 04e7fc44c16..138b4e8373b 100644 |
18 |
--- a/app-antivirus/clamav/clamav-0.104.0-r1.ebuild |
19 |
+++ b/app-antivirus/clamav/clamav-0.104.0-r1.ebuild |
20 |
@@ -43,7 +43,8 @@ CDEPEND="acct-group/clamav |
21 |
test? ( dev-python/pytest )" |
22 |
# TODO: there is no way to use this with the new build system instead of the bundled one |
23 |
# dev-libs/tomsfastmath |
24 |
-BDEPEND="virtual/pkgconfig" |
25 |
+BDEPEND="virtual/pkgconfig |
26 |
+ doc? ( app-doc/doxygen )" |
27 |
DEPEND="${CDEPEND} |
28 |
test? ( dev-libs/check )" |
29 |
RDEPEND="${CDEPEND} |
30 |
@@ -72,6 +73,7 @@ src_configure() { |
31 |
-DOPTIMIZE=ON |
32 |
-DENABLE_EXTERNAL_MSPACK=ON |
33 |
-DENABLE_MAN_PAGES=ON |
34 |
+ -DENABLE_DOXYGEN=$(usex doc) |
35 |
-DENABLE_UNRAR=$(usex rar ON OFF) |
36 |
-DENABLE_TESTS=$(usex test ON OFF) |
37 |
-DENABLE_STATIC_LIB=OFF |