summaryrefslogtreecommitdiffstats
path: root/package/flex
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 17:06:30 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:27:25 +0200
commitc3675860e878e23d0762101ef1af40ac8159aa86 (patch)
tree3c8e3947d3753fe4dc50b20317615b7d68f20690 /package/flex
parent39ec557f2db992bea439c24ddabf64ee549d4274 (diff)
downloadbuildroot-c3675860e878e23d0762101ef1af40ac8159aa86.tar.gz
buildroot-c3675860e878e23d0762101ef1af40ac8159aa86.zip
flex: 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/flex')
-rw-r--r--package/flex/Config.in1
-rw-r--r--package/flex/flex.mk3
2 files changed, 1 insertions, 3 deletions
diff --git a/package/flex/Config.in b/package/flex/Config.in
index 76e8bc7bc8..33d123d732 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -1,6 +1,5 @@
config BR2_PACKAGE_FLEX
bool "flex"
- select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
A fast lexical analyser generator. A tool for generating
programs that perform pattern-matching on text.
diff --git a/package/flex/flex.mk b/package/flex/flex.mk
index 905621ea3c..b78269952e 100644
--- a/package/flex/flex.mk
+++ b/package/flex/flex.mk
@@ -9,8 +9,7 @@ FLEX_SITE = https://github.com/westes/flex/files/981163
FLEX_INSTALL_STAGING = YES
FLEX_LICENSE = FLEX
FLEX_LICENSE_FILES = COPYING
-FLEX_DEPENDENCIES = \
- $(if $(BR2_PACKAGE_GETTEXT_IF_LOCALE),gettext) host-m4
+FLEX_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-m4
FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4
HOST_FLEX_DEPENDENCIES = host-m4
OpenPOWER on IntegriCloud