bluez/SOURCES/0001-build-Always-define-confdir-and-statedir.patch

42 lines
1.1 KiB
Diff
Raw Normal View History

2020-11-03 11:50:46 +00:00
From 5a62336f4da3a2d1a1ab38d03980d57844bce147 Mon Sep 17 00:00:00 2001
From: Gopal Tiwari <gtiwari@redhat.com>
Date: Mon, 8 Jun 2020 20:56:46 +0530
Subject: [PATCH BlueZ 1/4] build: Always define confdir and statedir
2019-05-07 10:48:45 +00:00
From 69d2e7bebb79f500179298c6c51fafbc217df6c8 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 20 Sep 2017 12:49:10 +0200
2020-11-03 11:50:46 +00:00
build: Always define confdir and statedir
2019-05-07 10:48:45 +00:00
As we will need those paths to lock down on them.
---
2020-11-03 11:50:46 +00:00
Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
2019-05-07 10:48:45 +00:00
diff --git a/Makefile.am b/Makefile.am
2020-11-03 11:50:46 +00:00
index 84c9712c9..6e77ed91e 100644
2019-05-07 10:48:45 +00:00
--- a/Makefile.am
+++ b/Makefile.am
2020-11-03 11:50:46 +00:00
@@ -31,14 +31,15 @@ pkginclude_HEADERS =
AM_CFLAGS = $(WARNING_CFLAGS) $(MISC_CFLAGS) $(UDEV_CFLAGS) $(ell_cflags)
2019-05-07 10:48:45 +00:00
AM_LDFLAGS = $(MISC_LDFLAGS)
+confdir = $(sysconfdir)/bluetooth
+statedir = $(localstatedir)/lib/bluetooth
+
if DATAFILES
2020-11-03 11:50:46 +00:00
dbusdir = $(DBUS_CONFDIR)/dbus-1/system.d
2019-05-07 10:48:45 +00:00
dbus_DATA = src/bluetooth.conf
-confdir = $(sysconfdir)/bluetooth
conf_DATA =
2020-11-03 11:50:46 +00:00
2019-05-07 10:48:45 +00:00
-statedir = $(localstatedir)/lib/bluetooth
state_DATA =
endif
--
2020-11-03 11:50:46 +00:00
2.21.1
2019-05-07 10:48:45 +00:00