python312Packages.icontract: relax deps (#380554)
[NixPkgs.git] / pkgs / by-name / rt / rtkit / meson-actual-use-systemd_systemunitdir.patch
blobfa1ca26088ce6418ee060360163f0338fbcc851e
1 From 7d62095b94f8df3891c984a1535026d2658bb177 Mon Sep 17 00:00:00 2001
2 From: Edmund Wu <fangkazuto@gmail.com>
3 Date: Sat, 11 Apr 2020 16:59:35 -0400
4 Subject: [PATCH] meson: actually use systemd_systemunitdir
6 ---
7 meson.build | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/meson.build b/meson.build
11 index 02e6c73..ba5ba1e 100644
12 --- a/meson.build
13 +++ b/meson.build
14 @@ -58,7 +58,7 @@ if policydir == ''
15 policydir = get_option('datadir') / 'polkit-1' / 'actions'
16 endif
18 -systemunitdir = ''
19 +systemunitdir = get_option('systemd_systemunitdir')
20 if systemunitdir == '' and systemd_dep.found()
21 systemunitdir = systemd_dep.get_pkgconfig_variable(
22 'systemdsystemunitdir',