]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
pv: needs gettext if locale is enabled
authorArnout Vandecappelle <arnout@mind.be>
Tue, 19 Nov 2013 23:50:48 +0000 (00:50 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 20 Nov 2013 09:15:18 +0000 (10:15 +0100)
Fixes http://autobuild.buildroot.net/results/c4f/c4f5ed916d85740ec00f5f34ded5de0195e5cd45/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pv/Config.in
package/pv/pv.mk

index 671f78e8c9aebabd65d46fd8813fb79e79da1ff2..d7322963c0aaaab11633c1acf7469241a9e2e7b9 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PV
        bool "pv"
+       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        help
          Pipe Viewer - is a terminal-based tool for
          monitoring the progress of data through a
index 5f1a54bdada27d79f7fa27bd2c324d4d764eed14..ab5190a43a41ba1611b2ed916de6427c3877084d 100644 (file)
@@ -9,6 +9,7 @@ PV_SOURCE = pv-$(PV_VERSION).tar.bz2
 PV_SITE = http://www.ivarch.com/programs/sources
 PV_LICENSE = Artistic-2.0
 PV_LICENSE_FILES = doc/COPYING
+PV_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
 
 # While 'pv' uses autoconf, it does not use automake for its
 # makefiles. It uses $(LD) $(LDFLAGS) to achieve partial linking, but