Patchwork [3,6/9] avahi: remove double dependency on gettext

login
register
mail settings
Submitter Arnout Vandecappelle
Date Nov. 1, 2012, 2:36 p.m.
Message ID <20121101143605.8550.65621.stgit@localhost>
Download mbox | patch
Permalink /patch/196236/
State Accepted
Headers show

Comments

Arnout Vandecappelle - Nov. 1, 2012, 2:36 p.m.
From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/avahi/avahi.mk |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Patch

diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index 5f07a2f..d96f24b 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -133,10 +133,7 @@  else
 AVAHI_CONF_OPT += --disable-python
 endif
 
-ifeq ($(BR2_PACKAGE_GETTEXT),y)
-AVAHI_DEPENDENCIES += gettext
-AVAHI_MAKE_OPT = LIBS=-lintl
-endif
+AVAHI_MAKE_OPT += $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),LIBS=-lintl)
 
 define AVAHI_REMOVE_INITSCRIPT
 	rm -rf $(TARGET_DIR)/etc/init.d/avahi-*