commit:     c3fa5cfca1f6b0b87e40ed7872e395d6d016d40a
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 17 23:31:19 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 09:40:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3fa5cfc

sys-devel/autoconf: Update live ebuild to EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-devel/autoconf/autoconf-9999.ebuild | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/sys-devel/autoconf/autoconf-9999.ebuild 
b/sys-devel/autoconf/autoconf-9999.ebuild
index 9495cddbedd..82ed3494918 100644
--- a/sys-devel/autoconf/autoconf-9999.ebuild
+++ b/sys-devel/autoconf/autoconf-9999.ebuild
@@ -1,14 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
 if [[ ${PV} == "9999" ]] ; then
-       EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
-               http://git.savannah.gnu.org/r/${PN}.git";
-       # We need all the tags in order to figure out the right version.
-       # The git-r3 eclass doesn't support that, so have to stick to 2.
-       inherit git-2
+       EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git";
+       inherit git-r3
 else
        SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
                ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz";
@@ -36,7 +33,7 @@ src_prepare() {
        # Avoid the "dirty" suffix in the git version by generating it
        # before we run later stages which might modify source files.
        local ver=$(./build-aux/git-version-gen .tarball-version)
-       echo "${ver}" > .tarball-version
+       echo "${ver}" > .tarball-version || die
 
        autoreconf -f -i || die
 

Reply via email to