commit:     f87e0aa8a02e62683e19a66c3739bd49d87d4c2b
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 17 05:33:22 2016 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sat Sep 17 18:57:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87e0aa8

dev-lang/perl: Restore missing call to check_rebuild

In the process of flattening perl-5.24.0-r1.ebuild, the call
to check_rebuild was omitted unintentionally, removing the ability
for this message to be displayed.

This commit reinserts the displaying of said message at the pkg_preinst
phase the last possible moment before the system perl gets updated for real.

Package-Manager: portage-2.3.0

 dev-lang/perl/perl-5.24.0-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-lang/perl/perl-5.24.0-r1.ebuild 
b/dev-lang/perl/perl-5.24.0-r1.ebuild
index 3086c8e..f984f96 100644
--- a/dev-lang/perl/perl-5.24.0-r1.ebuild
+++ b/dev-lang/perl/perl-5.24.0-r1.ebuild
@@ -471,6 +471,10 @@ src_install() {
        dual_scripts
 }
 
+pkg_preinst() {
+       check_rebuild
+}
+
 pkg_postinst() {
        dual_scripts
 

Reply via email to