From d462f92e60efa29bccf2e9a8a5c676c15e7a355e Mon Sep 17 00:00:00 2001 From: Paul Zander Date: Fri, 30 May 2025 20:40:43 +0200 Subject: [PATCH] x11-misc/sddm: only set SDDM_INITIAL_VT with elogind Bug: https://bugs.gentoo.org/956850 Bug: https://bugs.gentoo.org/956847 Signed-off-by: Paul Zander Signed-off-by: Sam James --- ...250502.ebuild => sddm-0.21.0_p20250502-r1.ebuild} | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) rename x11-misc/sddm/{sddm-0.21.0_p20250502.ebuild => sddm-0.21.0_p20250502-r1.ebuild} (96%) diff --git a/x11-misc/sddm/sddm-0.21.0_p20250502.ebuild b/x11-misc/sddm/sddm-0.21.0_p20250502-r1.ebuild similarity index 96% rename from x11-misc/sddm/sddm-0.21.0_p20250502.ebuild rename to x11-misc/sddm/sddm-0.21.0_p20250502-r1.ebuild index c361d329dd198..1673d8d124903 100644 --- a/x11-misc/sddm/sddm-0.21.0_p20250502.ebuild +++ b/x11-misc/sddm/sddm-0.21.0_p20250502-r1.ebuild @@ -102,10 +102,16 @@ src_configure() { -DSYSTEMD_TMPFILES_DIR="/usr/lib/tmpfiles.d" -DNO_SYSTEMD=$(usex !systemd) -DUSE_ELOGIND=$(usex elogind) - # try to use VT7 first. - # Keep the same as CHECKVT from display-manager - -DSDDM_INITIAL_VT=7 ) + + if use elogind; then + mycmakeargs+=( + # try to use VT7 first. + # Keep the same as CHECKVT from display-manager + -DSDDM_INITIAL_VT=7 + ) + fi + cmake_src_configure }