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 4F47C1382C5 for ; Fri, 5 Jun 2020 06:56:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6586EE0916; Fri, 5 Jun 2020 06:56:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 45F27E0916 for ; Fri, 5 Jun 2020 06:56:27 +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 B785734E847 for ; Fri, 5 Jun 2020 06:56:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8567831 for ; Fri, 5 Jun 2020 06:56:22 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1591340180.06fc5c14cc1e8703d56a2ba3b8b737e361970aa7.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/dwm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/dwm/dwm-9999.ebuild X-VCS-Directories: x11-wm/dwm/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 06fc5c14cc1e8703d56a2ba3b8b737e361970aa7 X-VCS-Branch: master Date: Fri, 5 Jun 2020 06:56:22 +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: b1d4f97d-966d-4d08-bfc9-8bbb9cb16446 X-Archives-Hash: bec521b0afee4e7999cc69efcb81ec67 commit: 06fc5c14cc1e8703d56a2ba3b8b737e361970aa7 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Jun 5 06:55:46 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Jun 5 06:56:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06fc5c14 x11-wm/dwm: Use savedconfig in live ebuild Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Jeroen Roovers gentoo.org> x11-wm/dwm/dwm-9999.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/x11-wm/dwm/dwm-9999.ebuild b/x11-wm/dwm/dwm-9999.ebuild index 900dc238896..4b464a12ac2 100644 --- a/x11-wm/dwm/dwm-9999.ebuild +++ b/x11-wm/dwm/dwm-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit git-r3 toolchain-funcs +inherit git-r3 savedconfig toolchain-funcs DESCRIPTION="a dynamic window manager for X11" HOMEPAGE="https://dwm.suckless.org/" @@ -31,6 +31,8 @@ src_prepare() { -e "s/ -Os / /" \ -e "/^\(LDFLAGS\|CFLAGS\|CPPFLAGS\)/{s| = | += |g;s|-s ||g}" \ config.mk || die + + restore_config config.h } src_compile() { @@ -51,4 +53,6 @@ src_install() { doins "${FILESDIR}"/dwm.desktop dodoc README + + save_config config.h }