diffutils: only needs gettext if locale is selected
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 1 Nov 2012 04:35:39 +0000 (04:35 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 3 May 2013 12:38:55 +0000 (14:38 +0200)
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>
package/diffutils/Config.in
package/diffutils/diffutils.mk

index 86da5d3a4f7db319f6d078de59abb8770d139ce3..4cc16e2127b3ae59875f453d67a09da8e263455b 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_DIFFUTILS
        bool"diffutils"
        depends on BR2_USE_WCHAR
+       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        help
          GNU diff. Compare files per line.
 
index 168d0402485bd35235003b783cfe6b57aff5d438..25307630a0b511efb9739be398552d58e2d5b74a 100644 (file)
@@ -6,8 +6,7 @@
 
 DIFFUTILS_VERSION = 3.2
 DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils
-DIFFUTILS_DEPENDENCIES = \
-       $(if $(BR2_PACKAGE_GETTEXT),gettext)
+DIFFUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
 
 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
 DIFFUTILS_DEPENDENCIES += busybox