commit: 7bba4eb59a368b70758cf495a588d80d8a53903b Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> AuthorDate: Tue Dec 3 16:51:19 2019 +0000 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> CommitDate: Tue Dec 3 16:52:32 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bba4eb5
net-firewall/nftables: fix modern_kernel flag Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> net-firewall/nftables/nftables-0.9.3.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net-firewall/nftables/nftables-0.9.3.ebuild b/net-firewall/nftables/nftables-0.9.3.ebuild index ad90d7a0673..26df15a2aea 100644 --- a/net-firewall/nftables/nftables-0.9.3.ebuild +++ b/net-firewall/nftables/nftables-0.9.3.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://netfilter.org/projects/nftables/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86" -IUSE="debug +doc +gmp json +modern_kernel python +readline static-libs xtables" +IUSE="debug +doc +gmp json +modern-kernel python +readline static-libs xtables" RDEPEND=" >=net-libs/libmnl-1.0.3:0= @@ -52,8 +52,8 @@ python_make() { pkg_setup() { if kernel_is ge 3 13; then - if use modern_kernel && kernel_is lt 3 18; then - eerror "The modern_kernel USE flag requires kernel version 3.18 or newer to work properly." + if use modern-kernel && kernel_is lt 3 18; then + eerror "The modern-kernel USE flag requires kernel version 3.18 or newer to work properly." fi CONFIG_CHECK="~NF_TABLES" linux-info_pkg_setup @@ -101,7 +101,7 @@ src_compile() { src_install() { default - local mksuffix="$(usex modern_kernel '-mk' '')" + local mksuffix="$(usex modern-kernel '-mk' '')" exeinto /usr/libexec/${PN} newexe "${FILESDIR}"/libexec/${PN}${mksuffix}.sh ${PN}.sh