summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-27 07:19:45 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-07-27 07:20:59 (GMT)
commit03bb359cb7c3bae307b6facc45aa95ccfaedfb48 (patch)
treecfc6002aa0d8d79a06a8ad50a54df38e9b4314ae
parentccd0fc4efa74481f1712c410f4ba52ce3d955b99 (diff)
downloadbuildroot-03bb359cb7c3bae307b6facc45aa95ccfaedfb48.tar.gz
buildroot-03bb359cb7c3bae307b6facc45aa95ccfaedfb48.tar.bz2
diffutils: fix configure cache issue with BR2_NEEDS_GETTEXT
Like flex, diffutils doesn't NEED gettext/libintl, but it's configure script checks for it, so make sure those a built before diffutils, otherwise it will populate tgt-config.cache with invalid values, breaking the build of other packages needing it (like libglib2). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/diffutils/diffutils.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk
index c0b3830..6ce71c9 100644
--- a/package/diffutils/diffutils.mk
+++ b/package/diffutils/diffutils.mk
@@ -9,6 +9,10 @@ DIFFUTILS_SITE:=$(BR2_GNU_MIRROR)/diffutils
DIFFUTILS_INSTALL_STAGING = YES
+DIFFUTILS_DEPENDENCIES = \
+ $(if $(BR2_PACKAGE_GETTEXT),gettext) \
+ $(if $(BR2_PACKAGE_LIBINTL),libintl)
+
DIFFUTILS_CONF_ENV = ac_cv_func_strtod=yes
ac_fsusage_space=yes \
fu_cv_sys_stat_statfs2_bsize=yes \