diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-03-31 20:20:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-04 14:09:35 +0100 |
commit | b31f9f2816a5c875862adfca7334533554b97390 (patch) | |
tree | b2909b2191a6128509f15608fba9c6d9978dac24 /meta/recipes-connectivity/avahi | |
parent | 3909b764b74ed9fd99ff97c49e9ee12890478015 (diff) | |
download | poky-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.inc | 10 |
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" | |||
16 | LICENSE = "GPLv2+ & LGPLv2.1+" | 16 | LICENSE = "GPLv2+ & LGPLv2.1+" |
17 | 17 | ||
18 | DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade" | 18 | DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade" |
19 | RRECOMMENDS_${PN} = "libnss-mdns" | 19 | |
20 | RRECOMMENDS_avahi-daemon = "libnss-mdns" | 20 | # uclibc has no nss |
21 | RRECOMMENDS_avahi-daemon_append_libc-glibc = "libnss-mdns" | ||
22 | RRECOMMENDS_${PN}_append_libc-glibc = "libnss-mdns" | ||
21 | 23 | ||
22 | SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ | 24 | SRC_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 | ||
69 | RRECOMMENDS_avahi-dev = "gettext-dev expat-dev libcap-dev libdaemon-dev dbus-dev glib-2.0-dev update-rc.d-dev" | 71 | RRECOMMENDS_avahi-dev = "expat-dev libcap-dev libdaemon-dev dbus-dev glib-2.0-dev update-rc.d-dev" |
72 | RRECOMMENDS_avahi-dev_append_libc-glibc = " gettext-dev" | ||
73 | |||
70 | RRECOMMENDS_avahi-dev[nodeprrecs] = 1 | 74 | RRECOMMENDS_avahi-dev[nodeprrecs] = 1 |
71 | 75 | ||
72 | CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf" | 76 | CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf" |