summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-firewall/nftables/ChangeLog5
-rw-r--r--net-firewall/nftables/nftables-0.4.ebuild9
2 files changed, 9 insertions, 5 deletions
diff --git a/net-firewall/nftables/ChangeLog b/net-firewall/nftables/ChangeLog
index f1c5c9708e7f..9d8f05b0b522 100644
--- a/net-firewall/nftables/ChangeLog
+++ b/net-firewall/nftables/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-firewall/nftables
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/nftables/ChangeLog,v 1.8 2014/12/18 17:13:48 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nftables/ChangeLog,v 1.9 2014/12/20 14:48:44 mrueg Exp $
+
+ 20 Dec 2014; Manuel Rüger <mrueg@gentoo.org> nftables-0.4.ebuild:
+ Add readline USE flag. Ebuild patch by Polynomial-C.
*nftables-0.4 (18 Dec 2014)
diff --git a/net-firewall/nftables/nftables-0.4.ebuild b/net-firewall/nftables/nftables-0.4.ebuild
index 01253e6b38f2..973a0edc3230 100644
--- a/net-firewall/nftables/nftables-0.4.ebuild
+++ b/net-firewall/nftables/nftables-0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/nftables/nftables-0.4.ebuild,v 1.1 2014/12/18 17:13:48 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nftables/nftables-0.4.ebuild,v 1.2 2014/12/20 14:48:44 mrueg Exp $
EAPI=5
@@ -12,13 +12,13 @@ HOMEPAGE="http://netfilter.org/projects/nftables/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="debug"
+IUSE="debug +readline"
SRC_URI="http://netfilter.org/projects/${PN}/files/${P}.tar.bz2"
RDEPEND="net-libs/libmnl
>=net-libs/libnftnl-1.0.2
dev-libs/gmp
- sys-libs/readline"
+ readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
>=app-text/docbook2X-0.8.8-r4
sys-devel/bison
@@ -41,7 +41,8 @@ src_prepare() {
src_configure() {
econf \
--sbindir="${EPREFIX}"/sbin \
- $(use_enable debug)
+ $(use_enable debug) \
+ $(use_enable readline cli)
}
src_install() {