summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2020-12-03 01:00:00 +0000
committerLars Wendler <polynomial-c@gentoo.org>2020-12-09 15:17:57 +0100
commitd047fb73043b86599bceb23060bacc725b393696 (patch)
tree0427914001e63fda93f881c7f1282626de8e75e9 /sys-devel/autoconf/autoconf-9999.ebuild
parentautotools.eclass: eautoconf(): Install config.guess and config.sub. (diff)
downloadgentoo-d047fb73043b86599bceb23060bacc725b393696.tar.gz
gentoo-d047fb73043b86599bceb23060bacc725b393696.tar.bz2
gentoo-d047fb73043b86599bceb23060bacc725b393696.zip
sys-devel/autoconf: Use config.guess and config.sub from sys-devel/gnuconfig.
Make config.guess and config.sub symbolic links pointing to files provided by sys-devel/gnuconfig. Closes: https://bugs.gentoo.org/757996 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-devel/autoconf/autoconf-9999.ebuild')
-rw-r--r--sys-devel/autoconf/autoconf-9999.ebuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/sys-devel/autoconf/autoconf-9999.ebuild b/sys-devel/autoconf/autoconf-9999.ebuild
index 155a08e8f7a..58895dec2f9 100644
--- a/sys-devel/autoconf/autoconf-9999.ebuild
+++ b/sys-devel/autoconf/autoconf-9999.ebuild
@@ -24,8 +24,9 @@ IUSE="emacs"
BDEPEND=">=sys-devel/m4-1.4.16
>=dev-lang/perl-5.6"
RDEPEND="${BDEPEND}
- !~sys-devel/${P}:2.5
- >=sys-devel/autoconf-wrapper-13"
+ ~sys-devel/autoconf-wrapper-14_pre3
+ sys-devel/gnuconfig
+ !~sys-devel/${P}:2.5"
[[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
@@ -41,3 +42,12 @@ src_prepare() {
toolchain-autoconf_src_prepare
}
+
+src_install() {
+ default
+
+ local f
+ for f in config.guess config.sub; do
+ ln -fs ../../gnuconfig/${f} "${ED}"/usr/share/autoconf-*/build-aux/${f} || die
+ done
+}