summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-04-30 15:55:45 -0400
committerMatt Turner <mattst88@gentoo.org>2021-04-30 15:55:48 -0400
commit45f4f9428cd139f3b31a2d911ea9e4484a2b61f2 (patch)
treed77b34476f44c465334260918dcd08b53cf07ab4
parentmedia-libs/libglvnd: Version bump to 1.3.3 (diff)
downloadgentoo-45f4f9428cd139f3b31a2d911ea9e4484a2b61f2.tar.gz
gentoo-45f4f9428cd139f3b31a2d911ea9e4484a2b61f2.tar.bz2
gentoo-45f4f9428cd139f3b31a2d911ea9e4484a2b61f2.zip
gnome-base/gdm: Fix build with elogind
Closes: https://bugs.gentoo.org/787203 Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--gnome-base/gdm/gdm-40.0.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnome-base/gdm/gdm-40.0.ebuild b/gnome-base/gdm/gdm-40.0.ebuild
index fdfbc1526efe..7be1ee83162e 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