commit: 45f4f9428cd139f3b31a2d911ea9e4484a2b61f2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Fri Apr 30 19:55:45 2021 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Fri Apr 30 19:55:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45f4f942
gnome-base/gdm: Fix build with elogind Closes: https://bugs.gentoo.org/787203 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> gnome-base/gdm/gdm-40.0.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnome-base/gdm/gdm-40.0.ebuild b/gnome-base/gdm/gdm-40.0.ebuild index fdfbc1526ef..7be1ee83162 100644 --- a/gnome-base/gdm/gdm-40.0.ebuild +++ b/gnome-base/gdm/gdm-40.0.ebuild @@ -147,8 +147,6 @@ src_configure() { -Drun-dir=/run/gdm $(meson_feature selinux) $(meson_use systemd systemd-journal) - -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" - -Dsystemduserunitdir="$(systemd_get_userunitdir)" $(meson_use tcpd tcp-wrappers) -Dudev-dir=$(get_udevdir) -Duser=gdm @@ -160,6 +158,14 @@ src_configure() { if use elogind; then emesonargs+=( -Dinitial-vt=7 # TODO: Revisit together with startDM.sh and other xinit talks; also ignores plymouth possibility + -Dsystemdsystemunitdir=no + -Dsystemduserunitdir=no + ) + else + emesonargs+=( + -Dinitial-vt=1 + -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" + -Dsystemduserunitdir="$(systemd_get_userunitdir)" ) fi
