sys-auth/nss-mdns: do not build $ROOT into the source

This commit is contained in:
Brian Norris
2016-02-22 15:52:19 -05:00
committed by Mike Frysinger
parent 51c36f98fa
commit c6e5e8d1dd

View File

@@ -1,10 +1,14 @@
--- src/Makefile.am 2006-12-30 01:00:22.000000000 -0600
+++ src/Makefile.am 2006-12-30 01:01:11.000000000 -0600
https://bugs.gentoo.org/159341
fix the full path to the socket run dir
--- src/Makefile.am
+++ src/Makefile.am
@@ -20,7 +20,7 @@
AM_CFLAGS = \
-DMDNS_ALLOW_FILE=\"$(sysconfdir)/mdns.allow\" \
-DRESOLV_CONF_FILE=\"$(sysconfdir)/resolv.conf\" \
- -DAVAHI_SOCKET=\"$(localstatedir)/run/avahi-daemon/socket\"
+ -DAVAHI_SOCKET=\"$(ROOT)var/run/avahi-daemon/socket\"
+ -DAVAHI_SOCKET=\"/var/run/avahi-daemon/socket\"
#AM_CFLAGS += -DNDEBUG=1 -Os