summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2012-11-01 04:35:44 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-07 00:23:35 +0200
commit8989ecda1bd8955b8a5dfebf0b28ddf1cb2e9058 (patch)
tree528899951693064838343471b2f8c77b536d6f10 /package
parent2ffad2a1f2f6abd60769bd7f2753ebe3d9ca0396 (diff)
downloadbuildroot-novena-8989ecda1bd8955b8a5dfebf0b28ddf1cb2e9058.tar.gz
buildroot-novena-8989ecda1bd8955b8a5dfebf0b28ddf1cb2e9058.zip
flex: only needs gettext if locale is selected
Also add missing select in Config.in. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/flex/Config.in1
-rw-r--r--package/flex/flex.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/flex/Config.in b/package/flex/Config.in
index 90a75f475..f74a0f0e8 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -1,5 +1,6 @@
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 59551f22b..f7e319f1c 100644
--- a/package/flex/flex.mk
+++ b/package/flex/flex.mk
@@ -10,7 +10,7 @@ FLEX_INSTALL_STAGING = YES
FLEX_LICENSE = FLEX
FLEX_LICENSE_FILES = COPYING
FLEX_DEPENDENCIES = \
- $(if $(BR2_PACKAGE_GETTEXT),gettext) host-m4
+ $(if $(BR2_PACKAGE_GETTEXT_IF_LOCALE),gettext) host-m4
# we don't have a host-gettext/libintl
HOST_FLEX_DEPENDENCIES = host-m4