summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-03-16 09:32:14 +0100
committerMichał Górny <mgorny@gentoo.org>2017-03-24 20:39:30 +0100
commita91f8fc1b6a4e72de75e50dc0579141ebb5122f1 (patch)
tree6deb9caaa2c63959ab282e988b57362d1cabb64a /sys-devel/autoconf/autoconf-9999.ebuild
parentx11-wm/awesome: remove proxied-maintainer upon request (diff)
downloadgentoo-a91f8fc1b6a4e72de75e50dc0579141ebb5122f1.tar.gz
gentoo-a91f8fc1b6a4e72de75e50dc0579141ebb5122f1.tar.bz2
gentoo-a91f8fc1b6a4e72de75e50dc0579141ebb5122f1.zip
sys-devel/autoconf: [QA] Convert from eblits into an eclass, #586424
Convert the usage of eblits in sys-devel/autoconf into an equivalent eclass. This makes the ebuilds more readable, more predictable and fixes compliance with stricter versions of the package manager (i.e. a future release of Portage).
Diffstat (limited to 'sys-devel/autoconf/autoconf-9999.ebuild')
-rw-r--r--sys-devel/autoconf/autoconf-9999.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/sys-devel/autoconf/autoconf-9999.ebuild b/sys-devel/autoconf/autoconf-9999.ebuild
index e54426475c8..9495cddbedd 100644
--- a/sys-devel/autoconf/autoconf-9999.ebuild
+++ b/sys-devel/autoconf/autoconf-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -15,6 +15,8 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
fi
+inherit toolchain-autoconf
+
DESCRIPTION="Used to create autoconfiguration files"
HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
@@ -30,18 +32,13 @@ RDEPEND="${DEPEND}
[[ ${PV} == "9999" ]] && DEPEND+=" >=sys-apps/texinfo-4.3"
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
-if [[ -z ${__EBLITS__} && -n ${FILESDIR} ]] ; then
- source "${FILESDIR}"/eblits/main.eblit || die
-fi
-src_prepare() { eblit-run src_prepare ; }
-src_configure() { eblit-run src_configure ; }
-src_install() { eblit-run src_install ; }
-
-eblit-src_prepare-pre() {
+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
autoreconf -f -i || die
+
+ toolchain-autoconf_src_prepare
}