diff options
-rw-r--r-- | sys-apps/net-tools/net-tools-2.10.ebuild | 17 | ||||
-rw-r--r-- | sys-apps/net-tools/net-tools-9999.ebuild | 15 |
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 4053b82f9db1..3cb4b0d86c25 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 00d07c185f7e..3cb4b0d86c25 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 |