summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2015-05-10 22:33:04 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-05-11 08:56:59 +0200
commit96e89e4a69500a99e129777439b80af7df56cb8d (patch)
tree4885cab8a049371dd5dc7abdc75b4720fd459472
parent1f96b51be89b5cb7b35c59403641308b95e9bc5c (diff)
downloadbuildroot-96e89e4a69500a99e129777439b80af7df56cb8d.tar.gz
buildroot-96e89e4a69500a99e129777439b80af7df56cb8d.zip
package/gnuchess: add gettext dependency
gnuchess check for libintl library if BR2_NEEDS_GETTEXT_IF_LOCALE is set. checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... -lintl But the dependency on gettext package is missing to ensures reproducible builds. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gnuchess/Config.in1
-rw-r--r--package/gnuchess/gnuchess.mk3
2 files changed, 3 insertions, 1 deletions
diff --git a/package/gnuchess/Config.in b/package/gnuchess/Config.in
index aa446f4b22..4993b1adf0 100644
--- a/package/gnuchess/Config.in
+++ b/package/gnuchess/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_GNUCHESS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_FLEX
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
GNU Chess lets most modern computers play a full game of chess.
diff --git a/package/gnuchess/gnuchess.mk b/package/gnuchess/gnuchess.mk
index 48e8bc8965..0555cb17b4 100644
--- a/package/gnuchess/gnuchess.mk
+++ b/package/gnuchess/gnuchess.mk
@@ -10,6 +10,7 @@ GNUCHESS_LICENSE = GPLv2+
GNUCHESS_LICENSE_FILES = COPYING
GNUCHESS_DEPENDENCIES = host-flex flex
-GNUCHESS_DEPENDENCIES += $(if $(BR2_PACKAGE_READLINE),readline)
+GNUCHESS_DEPENDENCIES += $(if $(BR2_PACKAGE_READLINE),readline) \
+ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
$(eval $(autotools-package))
OpenPOWER on IntegriCloud