summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-01-18 00:31:19 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-01-18 10:40:32 +0100
commitc3fa5cfca1f6b0b87e40ed7872e395d6d016d40a (patch)
tree207d1b160b501988211b8a329b26a45f55003360 /sys-devel
parenttoolchain-autoconf.eclass: Modernise (diff)
downloadgentoo-c3fa5cfca1f6b0b87e40ed7872e395d6d016d40a.tar.gz
gentoo-c3fa5cfca1f6b0b87e40ed7872e395d6d016d40a.tar.bz2
gentoo-c3fa5cfca1f6b0b87e40ed7872e395d6d016d40a.zip
sys-devel/autoconf: Update live ebuild to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/autoconf/autoconf-9999.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys-devel/autoconf/autoconf-9999.ebuild b/sys-devel/autoconf/autoconf-9999.ebuild
index 9495cddbedd9..82ed3494918b 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