commit:     ebadcfe13e438215335c44913b254aaadf74e267
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  5 18:18:21 2021 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Jan  5 18:18:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebadcfe1

net-firewall/nftables-9999: Add libedit USE flag, update libnftnl dep

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 net-firewall/nftables/nftables-9999.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/net-firewall/nftables/nftables-9999.ebuild 
b/net-firewall/nftables/nftables-9999.ebuild
index 1cc0dea3eb8..c82ada83f01 100644
--- a/net-firewall/nftables/nftables-9999.ebuild
+++ b/net-firewall/nftables/nftables-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -25,13 +25,13 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0/1"
-IUSE="debug doc +gmp json +modern-kernel python +readline static-libs xtables"
+IUSE="debug doc +gmp json libedit +modern-kernel python +readline static-libs 
xtables"
 
 RDEPEND="
        >=net-libs/libmnl-1.0.4:0=
-       >=net-libs/libnftnl-1.1.8:0=
+       >=net-libs/libnftnl-1.1.9:0=
        gmp? ( dev-libs/gmp:0= )
-       json? ( dev-libs/jansson )
+       json? ( dev-libs/jansson:= )
        python? ( ${PYTHON_DEPS} )
        readline? ( sys-libs/readline:0= )
        xtables? ( >=net-firewall/iptables-1.6.1 )
@@ -49,6 +49,7 @@ BDEPEND+="
 
 REQUIRED_USE="
        python? ( ${PYTHON_REQUIRED_USE} )
+       libedit? ( !readline )
 "
 
 python_make() {
@@ -93,6 +94,7 @@ src_configure() {
                $(use_enable doc man-doc)
                $(use_with !gmp mini_gmp)
                $(use_with json)
+               $(use_with libedit cli editline)
                $(use_with readline cli readline)
                $(use_enable static-libs static)
                $(use_with xtables)

Reply via email to