From 6b6afa0fb497cdb5d29f1ad16ef531f643c651a8 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 15 Dec 2017 15:58:38 -0500 Subject: app-emulation/lxc: always build man pages Closes: https://bugs.gentoo.org/635254 Closes: https://github.com/gentoo/gentoo/pull/6561 Package-Manager: Portage-2.3.13, Repoman-2.3.3 Signed-off-by: Matthias Maier --- app-emulation/lxc/lxc-2.0.9.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'app-emulation') diff --git a/app-emulation/lxc/lxc-2.0.9.ebuild b/app-emulation/lxc/lxc-2.0.9.ebuild index d22f583a5a46..6f7f827d44c0 100644 --- a/app-emulation/lxc/lxc-2.0.9.ebuild +++ b/app-emulation/lxc/lxc-2.0.9.ebuild @@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~arm ~arm64" LICENSE="LGPL-3" SLOT="0" -IUSE="cgmanager doc examples lua python seccomp selinux" +IUSE="cgmanager examples lua python seccomp selinux" RDEPEND=" net-libs/gnutls @@ -28,7 +28,7 @@ RDEPEND=" selinux? ( sys-libs/libselinux )" DEPEND="${RDEPEND} - doc? ( app-text/docbook-sgml-utils ) + app-text/docbook-sgml-utils >=sys-kernel/linux-headers-3.2" RDEPEND="${RDEPEND} @@ -123,6 +123,9 @@ src_configure() { # /var/lib/lxc is probably more appropriate than # /usr/lib/lxc. # Note by holgersson: Why is apparmor disabled? + + # --enable-doc is for manpages which is why we don't link it to a "doc" + # USE flag. We always want man pages. econf \ --localstatedir=/var \ --bindir=/usr/bin \ @@ -133,8 +136,8 @@ src_configure() { --with-runtime-path=/run \ --disable-apparmor \ --disable-werror \ + --enable-doc \ $(use_enable cgmanager) \ - $(use_enable doc) \ $(use_enable examples) \ $(use_enable lua) \ $(use_enable python) \ -- cgit v1.2.3-65-gdbad