summaryrefslogtreecommitdiffstats
path: root/package/pv
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2013-11-20 00:50:48 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-11-20 10:15:18 +0100
commit8b24c37e3a332509d91ac2a4edc983a5e0b57ab0 (patch)
tree0b4b45cacad423835671ee0b61564921faae5e75 /package/pv
parent5e827993e737a3330e18fe97d99ccfbd46be2239 (diff)
downloadbuildroot-8b24c37e3a332509d91ac2a4edc983a5e0b57ab0.tar.gz
buildroot-8b24c37e3a332509d91ac2a4edc983a5e0b57ab0.zip
pv: needs gettext if locale is enabled
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>
Diffstat (limited to 'package/pv')
-rw-r--r--package/pv/Config.in1
-rw-r--r--package/pv/pv.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/package/pv/Config.in b/package/pv/Config.in
index 671f78e8c9..d7322963c0 100644
--- a/package/pv/Config.in
+++ b/package/pv/Config.in
@@ -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
diff --git a/package/pv/pv.mk b/package/pv/pv.mk
index 5f1a54bdad..ab5190a43a 100644
--- a/package/pv/pv.mk
+++ b/package/pv/pv.mk
@@ -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
OpenPOWER on IntegriCloud