From c32bd5fc0bfb391cfe6974fbf9988ab76a19ff3b Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 16 Oct 2019 15:08:53 +0200 Subject: [PATCH] sys-apps/fwupd: Fixed build with USE="minimal" Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Lars Wendler --- sys-apps/fwupd/fwupd-1.3.2.ebuild | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/sys-apps/fwupd/fwupd-1.3.2.ebuild b/sys-apps/fwupd/fwupd-1.3.2.ebuild index a1ab427a0198..b8f2e6619819 100644 --- a/sys-apps/fwupd/fwupd-1.3.2.ebuild +++ b/sys-apps/fwupd/fwupd-1.3.2.ebuild @@ -133,15 +133,17 @@ src_configure() { src_install() { meson_src_install - sed "s@%SEAT_MANAGER%@$(usex elogind elogind consolekit)@" \ - "${FILESDIR}"/${PN}-r1 \ - > "${T}"/${PN} || die - doinitd "${T}"/${PN} + if ! use minimal ; then + sed "s@%SEAT_MANAGER%@$(usex elogind elogind consolekit)@" \ + "${FILESDIR}"/${PN}-r1 \ + > "${T}"/${PN} || die + doinitd "${T}"/${PN} - if ! use systemd ; then - # Don't timeout when fwupd is running (#673140) - sed '/^IdleTimeout=/s@=[[:digit:]]\+@=0@' \ - -i "${ED}"/etc/${PN}/daemon.conf || die + if ! use systemd ; then + # Don't timeout when fwupd is running (#673140) + sed '/^IdleTimeout=/s@=[[:digit:]]\+@=0@' \ + -i "${ED}"/etc/${PN}/daemon.conf || die + fi fi } -- 2.26.2