All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3 3/9] ndisc6: only needs gettext if locale is selected
Date: Thu, 01 Nov 2012 15:35:50 +0100	[thread overview]
Message-ID: <20121101143550.8550.19555.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/ndisc6/Config.in |    1 +
 package/ndisc6/ndisc6.mk |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/ndisc6/Config.in b/package/ndisc6/Config.in
index 126bfa2..6abe4ce 100644
--- a/package/ndisc6/Config.in
+++ b/package/ndisc6/Config.in
@@ -4,6 +4,7 @@ comment "ndisc6 requires a toolchain with IPv6 support"
 config BR2_PACKAGE_NDISC6
 	bool "ndisc6 tools"
 	depends on BR2_INET_IPV6
+	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	help
 	  NDisc6 is a small collection of useful tools for IPv6 networking
 
diff --git a/package/ndisc6/ndisc6.mk b/package/ndisc6/ndisc6.mk
index f58cc13..1d3c0e7 100644
--- a/package/ndisc6/ndisc6.mk
+++ b/package/ndisc6/ndisc6.mk
@@ -10,7 +10,7 @@ NDISC6_SITE = http://www.remlab.net/files/ndisc6/
 NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=gnu99"
 NDISC6_CONF_OPT = --localstatedir=/var --disable-rpath --disable-suid-install
 
-ifeq ($(BR2_PACKAGE_GETTEXT),y)
+ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
 NDISC6_DEPENDENCIES += gettext
 NDISC6_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -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 ` Arnout Vandecappelle [this message]
2013-03-24 13:24   ` [Buildroot] [PATCH 3 3/9] ndisc6: " Gustavo Zacarias
2013-05-06 22:27   ` Peter Korsgaard
2012-11-01 14:35 ` [Buildroot] [PATCH 3 4/9] util-linux: " Arnout Vandecappelle
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=20121101143550.8550.19555.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.