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

15 lines
562 B
Diff

--- a/meson.build
+++ b/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