package/nss-mdns: fix avahi socket location
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 18 Jul 2013 21:24:13 +0000 (23:24 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 18 Jul 2013 22:34:04 +0000 (00:34 +0200)
In buildroot, the avahi socket is located in /var/run/avahi-daemon,
not in /usr/var/run/avahi-daemon/socket.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/nss-mdns/nss-mdns.mk

index ea53bc286135a93af3f6310f3a8075ea300e930f..4d366335e22ddcfdadbc6866c3f22e4f01eeae82 100644 (file)
@@ -7,6 +7,8 @@
 NSS_MDNS_VERSION=0.10
 NSS_MDNS_SITE=http://0pointer.de/lennart/projects/nss-mdns
 
+NSS_MDNS_CONF_OPT += --localstatedir=/var
+
 define NSS_MDNS_INSTALL_CONFIG
        $(INSTALL) -D -m 0664 package/nss-mdns/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf
 endef