summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <hsoft@hardcoded.net>2017-12-15 15:58:38 -0500
committerMatthias Maier <tamiko@gentoo.org>2017-12-15 16:58:16 -0600
commit6b6afa0fb497cdb5d29f1ad16ef531f643c651a8 (patch)
treea2bcca832862e8b2b9dd16dfbe5267f8c0c16ad2 /app-emulation/lxc
parentapp-emulation/lxc: bump to 2.0.9 (diff)
downloadgentoo-6b6afa0fb497cdb5d29f1ad16ef531f643c651a8.tar.gz
gentoo-6b6afa0fb497cdb5d29f1ad16ef531f643c651a8.tar.bz2
gentoo-6b6afa0fb497cdb5d29f1ad16ef531f643c651a8.zip
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 <tamiko@gentoo.org>
Diffstat (limited to 'app-emulation/lxc')
-rw-r--r--app-emulation/lxc/lxc-2.0.9.ebuild9
1 files changed, 6 insertions, 3 deletions
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) \