summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-01-07 14:56:57 -0500
committerMike Gilbert <floppym@gentoo.org>2021-01-07 14:56:57 -0500
commit604c54cd6321f3e26b2f9dc45ebf1f888eba483e (patch)
tree2deae4bc3f4a9826a9abc64733c0e79e0ebb1dc4
parentnet-wireless/iwd: bump to 1.11 (diff)
downloadgentoo-604c54cd6321f3e26b2f9dc45ebf1f888eba483e.tar.gz
gentoo-604c54cd6321f3e26b2f9dc45ebf1f888eba483e.tar.bz2
gentoo-604c54cd6321f3e26b2f9dc45ebf1f888eba483e.zip
sys-apps/net-tools: use BDEPEND in EAPI 7
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--sys-apps/net-tools/net-tools-2.10.ebuild17
-rw-r--r--sys-apps/net-tools/net-tools-9999.ebuild15
2 files changed, 17 insertions, 15 deletions
diff --git a/sys-apps/net-tools/net-tools-2.10.ebuild b/sys-apps/net-tools/net-tools-2.10.ebuild
index 4053b82f9db..3cb4b0d86c2 100644
--- a/sys-apps/net-tools/net-tools-2.10.ebuild
+++ b/sys-apps/net-tools/net-tools-2.10.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
inherit flag-o-matic toolchain-funcs
@@ -21,16 +21,17 @@ SLOT="0"
IUSE="+arp +hostname ipv6 nis nls plipconfig selinux slattach static"
REQUIRED_USE="nis? ( hostname )"
-RDEPEND="selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}
+DEPEND="selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ hostname? ( !sys-apps/coreutils[hostname] )
+ !<sys-apps/openrc-0.9.9.3"
+BDEPEND="
selinux? ( virtual/pkgconfig )
- app-arch/xz-utils"
+ app-arch/xz-utils
+"
if [[ ${PV} == "9999" ]]; then
- DEPEND+=" nls? ( sys-devel/gettext )"
+ BDEPEND+=" nls? ( sys-devel/gettext )"
fi
-RDEPEND+="
- hostname? ( !sys-apps/coreutils[hostname] )
- !<sys-apps/openrc-0.9.9.3"
set_opt() {
local opt=$1 ans
diff --git a/sys-apps/net-tools/net-tools-9999.ebuild b/sys-apps/net-tools/net-tools-9999.ebuild
index 00d07c185f7..3cb4b0d86c2 100644
--- a/sys-apps/net-tools/net-tools-9999.ebuild
+++ b/sys-apps/net-tools/net-tools-9999.ebuild
@@ -21,16 +21,17 @@ SLOT="0"
IUSE="+arp +hostname ipv6 nis nls plipconfig selinux slattach static"
REQUIRED_USE="nis? ( hostname )"
-RDEPEND="selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}
+DEPEND="selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}
+ hostname? ( !sys-apps/coreutils[hostname] )
+ !<sys-apps/openrc-0.9.9.3"
+BDEPEND="
selinux? ( virtual/pkgconfig )
- app-arch/xz-utils"
+ app-arch/xz-utils
+"
if [[ ${PV} == "9999" ]]; then
- DEPEND+=" nls? ( sys-devel/gettext )"
+ BDEPEND+=" nls? ( sys-devel/gettext )"
fi
-RDEPEND+="
- hostname? ( !sys-apps/coreutils[hostname] )
- !<sys-apps/openrc-0.9.9.3"
set_opt() {
local opt=$1 ans