commit:     a6ef526c60b1f809f9d008e5ecdba9cb28b795c1
Author:     Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
AuthorDate: Wed Oct 18 22:36:00 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 09:15:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ef526c

sys-apps/kexec-tools: update the live ebuild

git -> https and make it build
Closes: https://github.com/gentoo/gentoo/pull/5979

 sys-apps/kexec-tools/kexec-tools-9999.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild 
b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
index f3f01574c05..784f7a48e98 100644
--- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
@@ -4,9 +4,8 @@
 EAPI=6
 
 if [[ ${PV} == "9999" ]] ; then
-       inherit git-r3
-       
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git"
-       AUTOTOOLS_AUTORECONF=true
+       inherit git-r3 autotools
+       
EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git";
 else
        SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz"
        KEYWORDS="~amd64 ~arm64 ~x86"
@@ -42,7 +41,11 @@ pkg_setup() {
 
 src_prepare() {
        default
-       elibtoolize
+       if [[ ${PV} == "9999" ]] ; then
+               eautoreconf
+       else
+               elibtoolize
+       fi
 }
 
 src_configure() {

Reply via email to