Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3 4/9] util-linux: only needs gettext if locale is selected
Date: Thu, 01 Nov 2012 15:35:55 +0100	[thread overview]
Message-ID: <20121101143555.8550.69229.stgit@localhost> (raw)
In-Reply-To: <20121101143539.8550.70150.stgit@localhost>

From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

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>
---
 package/util-linux/Config.in     |    1 +
 package/util-linux/util-linux.mk |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 43a8444..88d08e7 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_UTIL_LINUX
 	bool "util-linux"
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR
+	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	help
 	  Various useful/essential Linux utilities.
 
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index f6028f4..f15baa7 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -29,7 +29,7 @@ else
 UTIL_LINUX_CONF_OPT += --without-ncurses
 endif
 
-ifeq ($(BR2_PACKAGE_GETTEXT),y)
+ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
 UTIL_LINUX_DEPENDENCIES += gettext
 UTIL_LINUX_MAKE_OPT += LIBS=-lintl
 endif

  parent reply	other threads:[~2012-11-01 14:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01 14:35 [Buildroot] [PATCH 3 1/9] diffutils: only needs gettext if locale is selected Arnout Vandecappelle
2012-11-01 14:35 ` [Buildroot] [PATCH 3 2/9] flex: " Arnout Vandecappelle
2013-03-24 13:23   ` Gustavo Zacarias
2013-05-06 22:25   ` Peter Korsgaard
2012-11-01 14:35 ` [Buildroot] [PATCH 3 3/9] ndisc6: " Arnout Vandecappelle
2013-03-24 13:24   ` Gustavo Zacarias
2013-05-06 22:27   ` Peter Korsgaard
2012-11-01 14:35 ` Arnout Vandecappelle [this message]
2012-11-01 14:36 ` [Buildroot] [PATCH 3 5/9] lshw: fix build with no LOCALE support Arnout Vandecappelle
2013-07-31 16:16   ` Thomas Petazzoni
2013-08-11 14:25     ` Arnout Vandecappelle
2012-11-01 14:36 ` [Buildroot] [PATCH 3 6/9] avahi: remove double dependency on gettext Arnout Vandecappelle
2012-11-01 14:36 ` [Buildroot] [PATCH 3 7/9] pulseaudio: remove " Arnout Vandecappelle
2012-11-01 14:36 ` [Buildroot] [PATCH 3 8/9] gdk-pixbuf: " Arnout Vandecappelle
2012-11-01 14:36 ` [Buildroot] [PATCH 3 9/9] libsoup: Remove redundant " Arnout Vandecappelle
2013-03-24 13:23 ` [Buildroot] [PATCH 3 1/9] diffutils: only needs gettext if locale is selected Gustavo Zacarias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121101143555.8550.69229.stgit@localhost \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox