--- src/Makefile.am	2006-12-30 01:00:22.000000000 -0600
+++ src/Makefile.am	2006-12-30 01:01:11.000000000 -0600
@@ -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\"
 
 #AM_CFLAGS += -DNDEBUG=1 -Os
 
--- src/Makefile.in	2006-12-30 01:00:19.000000000 -0600
+++ src/Makefile.in	2006-12-30 01:00:37.000000000 -0600
@@ -301,7 +301,7 @@
 # This cool debug trap works on i386/gcc only
 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\" \
 	'-DDEBUG_TRAP=__asm__("int $$3")'
 lib_LTLIBRARIES = \
 	libnss_mdns.la \
