summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-05-19 16:26:39 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-05-19 16:27:33 +0300
commitd17623626e57938794236da5b0aa6099b4ed84ff (patch)
treee94e1b8cd7973511c49ef5ac05f545b407c66bd5 /app-emulation
parentdev-ruby/loofah: fix version in gemspec (diff)
downloadgentoo-d17623626e57938794236da5b0aa6099b4ed84ff.tar.gz
gentoo-d17623626e57938794236da5b0aa6099b4ed84ff.tar.bz2
gentoo-d17623626e57938794236da5b0aa6099b4ed84ff.zip
app-emulation/lxc: add 'docs' USE flag
Closes: https://bugs.gentoo.org/723968 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/lxc/lxc-4.0.2-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-emulation/lxc/lxc-4.0.2-r1.ebuild b/app-emulation/lxc/lxc-4.0.2-r1.ebuild
index 07e3149ff2bc..f752ea7dc384 100644
--- a/app-emulation/lxc/lxc-4.0.2-r1.ebuild
+++ b/app-emulation/lxc/lxc-4.0.2-r1.ebuild
@@ -13,7 +13,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
LICENSE="LGPL-3"
SLOT="0"
-IUSE="apparmor +caps examples pam seccomp selinux +ssl +templates +tools"
+IUSE="apparmor +caps doc examples pam seccomp selinux +ssl +templates +tools"
RDEPEND="app-misc/pax-utils
net-libs/gnutls
@@ -29,6 +29,7 @@ DEPEND="${RDEPEND}
>=app-text/docbook-sgml-utils-0.6.14-r2
>=sys-kernel/linux-headers-3.2
apparmor? ( sys-apps/apparmor )"
+BDEPEND="doc? ( app-doc/doxygen )"
PDEPEND="templates? ( app-emulation/lxc-templates )"
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
@@ -95,7 +96,6 @@ src_configure() {
--disable-ubsan
--disable-werror
- --enable-api-docs
--enable-bash
--enable-commands
--enable-doc
@@ -104,6 +104,7 @@ src_configure() {
$(use_enable apparmor)
$(use_enable caps capabilities)
+ $(use_enable doc api-docs)
$(use_enable examples)
$(use_enable pam)
$(use_enable seccomp)