summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorahoka <ahoka>2008-12-20 23:51:39 +0000
committerahoka <ahoka>2008-12-20 23:51:39 +0000
commit444d3e0536b6955ae6fe40a30b78fb18f92ae483 (patch)
treeebba4cae91f4509b82d370b8ebe2c22c4704b897 /net
parent23d092f1f24a74c1557779532afcde48221e9258 (diff)
downloadpkgsrc-444d3e0536b6955ae6fe40a30b78fb18f92ae483.tar.gz
Honour SYSCONFDIR.
Diffstat (limited to 'net')
-rw-r--r--net/avahi/Makefile5
-rw-r--r--net/avahi/files/avahidaemon.sh4
2 files changed, 5 insertions, 4 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile
index af8254a66b7..44eda245c1b 100644
--- a/net/avahi/Makefile
+++ b/net/avahi/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/12/20 17:36:14 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/12/20 23:51:39 ahoka Exp $
DISTNAME= avahi-0.6.23
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://avahi.org/download/
@@ -57,7 +58,7 @@ CONF_FILES+= ${PREFIX}/share/examples/avahi/avahi-dnsconfd.action \
CONF_FILES+= ${PREFIX}/share/examples/avahi/ssh.service \
${PKG_SYSCONFDIR}/services/ssh.service
CONF_FILES+= ${PREFIX}/share/examples/avahi/avahi-dbus.conf \
- ${PREFIX}/etc/dbus-1/system.d/avahi-dbus.conf
+ ${PKG_SYSCONFBASE}/dbus-1/system.d/avahi-dbus.conf
CONFIGURE_ARGS+= --with-avahi-user=${AVAHI_USER:Q}
CONFIGURE_ARGS+= --with-avahi-group=${AVAHI_GROUP:Q}
diff --git a/net/avahi/files/avahidaemon.sh b/net/avahi/files/avahidaemon.sh
index 589d2124241..f3d6b2f660f 100644
--- a/net/avahi/files/avahidaemon.sh
+++ b/net/avahi/files/avahidaemon.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: avahidaemon.sh,v 1.1.1.1 2008/12/20 17:36:14 wiz Exp $
+# $NetBSD: avahidaemon.sh,v 1.2 2008/12/20 23:51:39 ahoka Exp $
#
# PROVIDE: avahidaemon
# REQUIRE: DAEMON
@@ -15,7 +15,7 @@ fi
name="avahidaemon"
rcvar=${name}
command="@PREFIX@/sbin/avahi-daemon"
-required_files="@PREFIX@/etc/avahi/avahi-daemon.conf"
+required_files="@PKG_SYSCONFDIR@/avahi-daemon.conf"
avahidaemon_flags="-D"
load_rc_config $name