summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-19 07:34:46 +0000
committerSam James <sam@gentoo.org>2021-10-19 07:43:55 +0000
commitb6c8b00f24bf1a62d3bf9ecd1af1f7889427246c (patch)
tree828f1c1aa8e37e0291c0788d64b0661f5ee5852b
parentdev-python/debugpy: Bump to 1.5.1 (diff)
downloadgentoo-b6c8b00f24bf1a62d3bf9ecd1af1f7889427246c.tar.gz
gentoo-b6c8b00f24bf1a62d3bf9ecd1af1f7889427246c.tar.bz2
gentoo-b6c8b00f24bf1a62d3bf9ecd1af1f7889427246c.zip
app-antivirus/clamav: generate docs w/ doxygen with USE=doc
Bug: https://bugs.gentoo.org/818892 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-antivirus/clamav/clamav-0.104.0-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-antivirus/clamav/clamav-0.104.0-r1.ebuild b/app-antivirus/clamav/clamav-0.104.0-r1.ebuild
index 04e7fc44c162..138b4e8373b1 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