From: Joonas Niilola Date: Tue, 19 May 2020 13:26:39 +0000 (+0300) Subject: app-emulation/lxc: add 'docs' USE flag X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d17623626e57938794236da5b0aa6099b4ed84ff;p=gentoo.git app-emulation/lxc: add 'docs' USE flag Closes: https://bugs.gentoo.org/723968 Signed-off-by: Joonas Niilola --- 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)