From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B3C77138334 for ; Wed, 16 Oct 2019 13:09:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C955FE097E; Wed, 16 Oct 2019 13:09:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B486FE097E for ; Wed, 16 Oct 2019 13:09:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E57F234BDAC for ; Wed, 16 Oct 2019 13:09:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5A1A88D for ; Wed, 16 Oct 2019 13:09:31 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1571231364.c32bd5fc0bfb391cfe6974fbf9988ab76a19ff3b.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/fwupd/fwupd-1.3.2.ebuild X-VCS-Directories: sys-apps/fwupd/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: c32bd5fc0bfb391cfe6974fbf9988ab76a19ff3b X-VCS-Branch: master Date: Wed, 16 Oct 2019 13:09:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8ccd9eca-60a3-4961-91de-b223557f675b X-Archives-Hash: f56045cefe2a0a5d784d35105f50a7e6 commit: c32bd5fc0bfb391cfe6974fbf9988ab76a19ff3b Author: Lars Wendler gentoo org> AuthorDate: Wed Oct 16 13:08:53 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Oct 16 13:09:24 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32bd5fc sys-apps/fwupd: Fixed build with USE="minimal" Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Lars Wendler gentoo.org> 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 a1ab427a019..b8f2e661981 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 }