x11-misc/sent: Fix savedconfig usage (bug #656082).
authorJeroen Roovers <jer@gentoo.org>
Sat, 19 May 2018 10:44:29 +0000 (12:44 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sat, 19 May 2018 10:45:03 +0000 (12:45 +0200)
Package-Manager: Portage-2.3.38, Repoman-2.3.9

x11-misc/sent/sent-1-r1.ebuild [moved from x11-misc/sent/sent-1.ebuild with 88% similarity]
x11-misc/sent/sent-9999.ebuild

similarity index 88%
rename from x11-misc/sent/sent-1.ebuild
rename to x11-misc/sent/sent-1-r1.ebuild
index f8352a8d52813f6aca4e5ad6f30a6da5ec391e3d..8324b45871a41ba5cbc18a89353714607c725da3 100644 (file)
@@ -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
 }
index 5f42528d0e67436e43112b621facdd86028e7be0..ad9a0d7e799b92f4c42e67a16316477a9c7b6572 100644 (file)
@@ -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
 }