summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/net-tools/net-tools-2.10.ebuild')
-rw-r--r--sys-apps/net-tools/net-tools-2.10.ebuild17
1 files changed, 9 insertions, 8 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