commit:     b075694584be3dfc785835a86ed507c2fc1273fc
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat May 19 10:44:29 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat May 19 10:45:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0756945

x11-misc/sent: Fix savedconfig usage (bug #656082).

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 x11-misc/sent/{sent-1.ebuild => sent-1-r1.ebuild} | 5 +++--
 x11-misc/sent/sent-9999.ebuild                    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/x11-misc/sent/sent-1.ebuild b/x11-misc/sent/sent-1-r1.ebuild
similarity index 88%
rename from x11-misc/sent/sent-1.ebuild
rename to x11-misc/sent/sent-1-r1.ebuild
index f8352a8d528..8324b45871a 100644
--- a/x11-misc/sent/sent-1.ebuild
+++ b/x11-misc/sent/sent-1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -32,7 +32,7 @@ src_prepare() {
                -e '/^  echo/d' \
                Makefile || die
 
-       restore_config config.def.h
+       restore_config config.h
 }
 
 src_compile() {
@@ -41,4 +41,5 @@ src_compile() {
 
 src_install() {
        emake DESTDIR="${D}" PREFIX="/usr" install
+       save_config config.h
 }

diff --git a/x11-misc/sent/sent-9999.ebuild b/x11-misc/sent/sent-9999.ebuild
index 5f42528d0e6..ad9a0d7e799 100644
--- a/x11-misc/sent/sent-9999.ebuild
+++ b/x11-misc/sent/sent-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -31,7 +31,7 @@ src_prepare() {
                -e '/^  echo/d' \
                Makefile || die
 
-       restore_config config.def.h
+       restore_config config.h
 }
 
 src_compile() {
@@ -40,4 +40,5 @@ src_compile() {
 
 src_install() {
        emake DESTDIR="${D}" PREFIX="/usr" install
+       save_config config.h
 }

Reply via email to