From 3c915bf81e5bc8747f1429f85690cb1ce595a1b7 Mon Sep 17 00:00:00 2001 From: Gioele Barabucci Date: Thu, 13 Jul 2023 09:14:43 +0200 Subject: [PATCH] configure.ac: Install D-Bus policy in /usr/share, not /etc From https://bugs.debian.org/1006631: > dbus supports policy files in both `/usr/share/dbus-1/system.d` and > `/etc/dbus-1/systemd`. [The] recently released dbus 1.14.0, officially > deprecates installing packages' default policies into `/etc/dbus-1/systemd`, > instead reserving it for the sysadmin. This is the same idea as the > difference between `/usr/lib/udev/rules.d` and `/etc/udev/rules.d`. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 28888c43e..f52bd4fe3 100644 --- a/configure.ac +++ b/configure.ac @@ -342,7 +342,7 @@ AC_SUBST([ALSA_CONF_DIR], [$alsaconfdir]) AC_ARG_WITH([dbusconfdir], AS_HELP_STRING([--with-dbusconfdir=DIR], [path to D-Bus system bus configuration files]), [dbusconfdir="${withval}"], - [dbusconfdir=$($PKG_CONFIG --variable=sysconfdir dbus-1)/dbus-1/system.d]) + [dbusconfdir=$($PKG_CONFIG --variable=datadir dbus-1)/dbus-1/system.d]) AC_SUBST([DBUS_CONF_DIR], [$dbusconfdir]) AC_ARG_WITH([systemdsystemunitdir],