From bc9756ccbd72129ef3638df8c05de7d37fedc184 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 27 Aug 2019 21:22:47 +0200 Subject: [PATCH] NetworkManager: fix build with elogind disabled suspend_resume doesn't take a no, so set it to upower since this is the only option that is no elogind or ConsoleKit --- srcpkgs/NetworkManager/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/NetworkManager/template b/srcpkgs/NetworkManager/template index bc2c5a4db7d..a97e8fff777 100644 --- a/srcpkgs/NetworkManager/template +++ b/srcpkgs/NetworkManager/template @@ -1,7 +1,7 @@ # Template file for 'NetworkManager' pkgname=NetworkManager version=1.18.2 -revision=2 +revision=3 build_style=meson build_helper="gir" configure_args="-Dpolkit_agent=true -Dsystemd_journal=false @@ -15,7 +15,7 @@ configure_args="-Dpolkit_agent=true -Dsystemd_journal=false -Dudev_dir=/usr/lib/udev -Dintrospection=$(vopt_if gir true false) -Dvapi=$(vopt_if vala true false) -Dsession_tracking=$(vopt_if elogind elogind no) - -Dsuspend_resume=$(vopt_if elogind elogind no) + -Dsuspend_resume=$(vopt_if elogind elogind upower) -Dconfig_dhcp_default=internal" hostmakedepends="gettext-devel glib-devel libxslt-devel pkg-config intltool dbus-glib-devel jansson-devel $(vopt_if vala vala)