sys-block/parted: Set correct subslot dependency for ncurses

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-08-21 10:40:57 +02:00
parent 7912400700
commit 12b1d70ccb
3 changed files with 14 additions and 13 deletions

View File

@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>livecd</herd>
<use>
<flag name='device-mapper'>
<herd>livecd</herd>
<use>
<flag name="device-mapper">
Enable device-mapper support from <pkg>sys-fs/lvm2</pkg> in parted
</flag>
<flag name="debug">
<flag name="debug">
Enable debugging as encouraged by upstream: [The default configuration]
includes --enable-debug (by default), which contains many assertions.
Obviously, these "waste" space, but in the past, they have caught
potentially dangerous bugs before they would have done damage, so we think
it's worth it. Also, it means we get more bug reports ;)
</flag>
</use>
</use>
</pkgmetadata>

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -19,9 +19,9 @@ RESTRICT="test"
# to fix bug 85999
RDEPEND="
>=sys-fs/e2fsprogs-1.27
>=sys-libs/ncurses-5.2
>=sys-libs/ncurses-5.2:5=
device-mapper? ( >=sys-fs/lvm2-2.02.45 )
readline? ( >=sys-libs/readline-5.2 )
readline? ( >=sys-libs/readline-5.2:0= )
selinux? ( sys-libs/libselinux )
"
DEPEND="

View File

@@ -3,6 +3,7 @@
# $Id$
EAPI=5
inherit autotools eutils
DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
@@ -19,9 +20,9 @@ RESTRICT="test"
# to fix bug 85999
RDEPEND="
>=sys-fs/e2fsprogs-1.27
>=sys-libs/ncurses-5.7-r7
>=sys-libs/ncurses-5.7-r7:5=
device-mapper? ( >=sys-fs/lvm2-2.02.45 )
readline? ( >=sys-libs/readline-5.2 )
readline? ( >=sys-libs/readline-5.2:0= )
selinux? ( sys-libs/libselinux )
"
DEPEND="
@@ -31,9 +32,9 @@ DEPEND="
"
src_prepare() {
epatch "${FILESDIR}"/${PN}-3.2-devmapper.patch
epatch "${FILESDIR}"/${PN}-3.2-po4a-mandir.patch
epatch \
"${FILESDIR}"/${PN}-3.2-devmapper.patch \
"${FILESDIR}"/${PN}-3.2-po4a-mandir.patch
eautoreconf
}