summaryrefslogtreecommitdiff
path: root/sysutils/dbus/patches/patch-aa
blob: d46585fb0a18c1be79ddf4b80a240c28ca2b9087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-aa,v 1.4 2006/08/28 08:28:57 jmmv Exp $

--- bus/Makefile.in.orig	2006-08-18 21:42:14.000000000 +0200
+++ bus/Makefile.in
@@ -301,11 +301,11 @@ target_alias = @target_alias@
 target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
-configdir = $(sysconfdir)/dbus-1
+configdir = $(datadir)/examples/@PACKAGE@
 INCLUDES = -I$(top_srcdir) $(DBUS_BUS_CFLAGS)				\
 	-DDAEMON_NAME=\"dbus-daemon\"  -DDBUS_COMPILATION		\
-	-DDBUS_SYSTEM_CONFIG_FILE=\""$(configdir)/system.conf"\"	\
-	-DDBUS_SESSION_CONFIG_FILE=\""$(configdir)/session.conf"\"
+	-DDBUS_SYSTEM_CONFIG_FILE=\""$(sysconfdir)/system.conf"\"	\
+	-DDBUS_SESSION_CONFIG_FILE=\""$(sysconfdir)/session.conf"\"
 
 EFENCE = 
 CONFIG_IN_FILES = \
@@ -852,8 +852,6 @@ install-data-hook:
  		chmod 755 $(DESTDIR)$(DBUS_DAEMONDIR); \
  	fi
 	$(INSTALL_PROGRAM) dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR)
-	$(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus
-	$(mkinstalldirs) $(DESTDIR)$(configdir)/system.d
 	$(mkinstalldirs) $(DESTDIR)$(datadir)/dbus-1/services
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.