summaryrefslogtreecommitdiff
path: root/sysutils/dbus/patches/patch-al
blob: bd7bdfa83f19555d8e6d7543461ef11a4fcdf39c (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
$NetBSD: patch-al,v 1.6 2017/11/23 14:43:23 wiz Exp $

Adapt path for pkgsrc.

--- tools/Makefile.in.orig	2017-11-13 13:36:10.000000000 +0000
+++ tools/Makefile.in
@@ -515,7 +515,7 @@ AM_CPPFLAGS = \
 	$(DBUS_STATIC_BUILD_CPPFLAGS) \
 	$(DBUS_X_CFLAGS) \
 	-DDBUS_COMPILATION \
-	-DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/lib/dbus/machine-id"\" \
+	-DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/db/dbus/machine-id"\" \
 	$(NULL)
 
 AM_CFLAGS = \
@@ -1092,9 +1092,9 @@ uninstall-am: uninstall-binPROGRAMS unin
 @DBUS_WIN_TRUE@disable-uac.rc: Win32.Manifest
 @DBUS_WIN_TRUE@	echo '1 24 "$<"' > $@
 
-# create the /var/lib/dbus directory for dbus-uuidgen
+# create the /var/db/dbus directory for dbus-uuidgen
 install-data-local:
-	$(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/dbus
+	$(MKDIR_P) $(DESTDIR)$(localstatedir)/db/dbus
 
 installcheck-local:
 	test -d $(DESTDIR)$(localstatedir)/lib/dbus