void-packages/srcpkgs/gnome-session/patches/no-systemd-dep.patch

15 lines
558 B
Diff
Raw Normal View History

2020-08-13 18:48:08 +02:00
--- meson.build
+++ meson.build
@@ -130,10 +130,7 @@ if enable_systemd or enable_consolekit
# Check for systemd
if enable_systemd
- systemd_dep = dependency('systemd', version: '>= 242', required: true)
- systemd_userunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir',
- define_variable: ['prefix', prefix])
-
+ systemd_userunitdir = '/tmp'
libsystemd_dep = dependency('libsystemd', version: '>= 209', required: false)
session_bin_deps += libsystemd_dep