summaryrefslogtreecommitdiffstats
path: root/package/nftables
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 23:07:17 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:28:46 +0200
commitb4d1d4f5e2564b3ca19ce09fe41c2305c9e44373 (patch)
treeed5b0baf22606ea5a5d2ed16b5a915d00069c95d /package/nftables
parentb08bf566e3619e409542ed189a4c5cbea52ec5f1 (diff)
downloadbuildroot-b4d1d4f5e2564b3ca19ce09fe41c2305c9e44373.tar.gz
buildroot-b4d1d4f5e2564b3ca19ce09fe41c2305c9e44373.zip
nftables: use the new gettext logic
This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nftables')
-rw-r--r--package/nftables/Config.in1
-rw-r--r--package/nftables/nftables.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/package/nftables/Config.in b/package/nftables/Config.in
index d0a1b89277..7c0abe0daf 100644
--- a/package/nftables/Config.in
+++ b/package/nftables/Config.in
@@ -5,7 +5,6 @@ config BR2_PACKAGE_NFTABLES
select BR2_PACKAGE_GMP
select BR2_PACKAGE_LIBMNL
select BR2_PACKAGE_LIBNFTNL
- select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
help
nftables is the project that aims to replace the existing
{ip,ip6,arp,eb}tables framework.
diff --git a/package/nftables/nftables.mk b/package/nftables/nftables.mk
index 7263ec70b9..d1e605565e 100644
--- a/package/nftables/nftables.mk
+++ b/package/nftables/nftables.mk
@@ -8,7 +8,7 @@ NFTABLES_VERSION = 0.7
NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
NFTABLES_DEPENDENCIES = gmp libmnl libnftnl host-bison host-flex \
- host-pkgconf $(if $(BR2_NEEDS_GETTEXT),gettext)
+ host-pkgconf $(TARGET_NLS_DEPENDENCIES)
NFTABLES_LICENSE = GPL-2.0
NFTABLES_LICENSE_FILES = COPYING
OpenPOWER on IntegriCloud