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 D5B5F1396D9 for ; Mon, 30 Oct 2017 15:53:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAF6EE0FC8; Mon, 30 Oct 2017 15:53:11 +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 BA48EE0FC8 for ; Mon, 30 Oct 2017 15:53:10 +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 F0DC733FE60 for ; Mon, 30 Oct 2017 15:53:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 865B031F for ; Mon, 30 Oct 2017 15:53:07 +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: <1509378785.e2dc58720ac8be82138b1e4d682399edf9d49ff7.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/dmenu/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/dmenu/dmenu-4.7-r1.ebuild x11-misc/dmenu/dmenu-4.7.ebuild X-VCS-Directories: x11-misc/dmenu/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: e2dc58720ac8be82138b1e4d682399edf9d49ff7 X-VCS-Branch: master Date: Mon, 30 Oct 2017 15:53:07 +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-Archives-Salt: 0a34549b-0332-47a0-8070-af10d6d3dc91 X-Archives-Hash: 3f36e32a8e9ae1e0de6f5d74c8e8a3d4 commit: e2dc58720ac8be82138b1e4d682399edf9d49ff7 Author: Jeroen Roovers gentoo org> AuthorDate: Mon Oct 30 15:52:43 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Mon Oct 30 15:53:05 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2dc5872 x11-misc/dmenu: Add savedconfig support by Hadrien Lacour (bug #635820). Package-Manager: Portage-2.3.13, Repoman-2.3.4 x11-misc/dmenu/{dmenu-4.7.ebuild => dmenu-4.7-r1.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x11-misc/dmenu/dmenu-4.7.ebuild b/x11-misc/dmenu/dmenu-4.7-r1.ebuild similarity index 93% rename from x11-misc/dmenu/dmenu-4.7.ebuild rename to x11-misc/dmenu/dmenu-4.7-r1.ebuild index 47042fad0e7..05dc375cb2b 100644 --- a/x11-misc/dmenu/dmenu-4.7.ebuild +++ b/x11-misc/dmenu/dmenu-4.7-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit toolchain-funcs +inherit savedconfig toolchain-funcs DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System" HOMEPAGE="https://tools.suckless.org/dmenu/" @@ -36,6 +36,8 @@ src_prepare() { -e 's|${CC} -o|$(CC) $(CFLAGS) -o|g' \ -e '/^ echo/d' \ Makefile || die + + restore_config config.h } src_compile() { @@ -54,4 +56,6 @@ src_compile() { src_install() { emake DESTDIR="${D}" PREFIX="/usr" install + + save_config config.h }