summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-03-31 20:20:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-04 14:09:35 +0100
commitb31f9f2816a5c875862adfca7334533554b97390 (patch)
treeb2909b2191a6128509f15608fba9c6d9978dac24 /meta/recipes-connectivity/avahi
parent3909b764b74ed9fd99ff97c49e9ee12890478015 (diff)
downloadpoky-b31f9f2816a5c875862adfca7334533554b97390.tar.gz
avahi.inc: Conditionalize RECOMMENDS by using overrides
libnss-mdns is not supportable on uclibc since nss is not available on uclibc we add gettext-dev to RRECOMMENDS only of eglibc/glibc (From OE-Core rev: 0fabdb5c8f550f811341640fd79727dbfa283b98) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/avahi')
-rw-r--r--meta/recipes-connectivity/avahi/avahi.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index 9f83d8dadc..6d4b8304dc 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -16,8 +16,10 @@ PRIORITY = "optional"
16LICENSE = "GPLv2+ & LGPLv2.1+" 16LICENSE = "GPLv2+ & LGPLv2.1+"
17 17
18DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade" 18DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade"
19RRECOMMENDS_${PN} = "libnss-mdns" 19
20RRECOMMENDS_avahi-daemon = "libnss-mdns" 20# uclibc has no nss
21RRECOMMENDS_avahi-daemon_append_libc-glibc = "libnss-mdns"
22RRECOMMENDS_${PN}_append_libc-glibc = "libnss-mdns"
21 23
22SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ 24SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \
23 file://00avahi-autoipd \ 25 file://00avahi-autoipd \
@@ -66,7 +68,9 @@ FILES_avahi-ui-utils = "${bindir}/bssh ${bindir}/bvnc ${bindir}/bshell \
66 ${datadir}/applications \ 68 ${datadir}/applications \
67 ${datadir}/avahi/interfaces" 69 ${datadir}/avahi/interfaces"
68 70
69RRECOMMENDS_avahi-dev = "gettext-dev expat-dev libcap-dev libdaemon-dev dbus-dev glib-2.0-dev update-rc.d-dev" 71RRECOMMENDS_avahi-dev = "expat-dev libcap-dev libdaemon-dev dbus-dev glib-2.0-dev update-rc.d-dev"
72RRECOMMENDS_avahi-dev_append_libc-glibc = " gettext-dev"
73
70RRECOMMENDS_avahi-dev[nodeprrecs] = 1 74RRECOMMENDS_avahi-dev[nodeprrecs] = 1
71 75
72CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf" 76CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf"