From bdb2195b34d284a1eab4a7c3dd6bc334b32a08a9 Mon Sep 17 00:00:00 2001
From: Holger Freyther <zecke@selfish.org>
Date: Thu, 17 May 2007 17:05:31 +0000
Subject: pakages/avahi: Do not RRECOMMEND libnss-mdns when building on uclibc 
    uclibc does not support NSS, only glibc does.

---
 packages/avahi/avahi.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/packages/avahi/avahi.inc b/packages/avahi/avahi.inc
index f87d4df0d1..2171cbd6d5 100644
--- a/packages/avahi/avahi.inc
+++ b/packages/avahi/avahi.inc
@@ -7,8 +7,10 @@ LICENSE = "GPL"
 PR="r4"
 
 DEPENDS = "expat libdaemon dbus glib-2.0"
-RRECOMMENDS = "libnss-mdns"
-RRECOMMENDS_avahi-daemon = "libnss-mdns"
+
+# uclibc has no nss
+RRECOMMENDS_append_linux = "libnss-mdns"
+RRECOMMENDS_avahi-daemon_append_linux = "libnss-mdns"
 RDEPENDS_avahi-daemon = "sysvinit-pidof"
 
 SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \
-- 
cgit v1.2.3