commit:     d8507aa357ce6fd607535c217085e66702d687b3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  6 03:29:37 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  6 03:31:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8507aa3

sys-fs/treesize: fix eautoreconf

config.guess and config.sub were in the tarball as symlinks
to a non-existent file (in most cases) for an old version
of automake which meant eautoreconf couldn't:
1. use them;
2. re-generate them (as usual)

Just delete them so that they get copied from
the usual location instead.

Closes: https://bugs.gentoo.org/760498
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/treesize/treesize-0.54.1-r1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-fs/treesize/treesize-0.54.1-r1.ebuild 
b/sys-fs/treesize/treesize-0.54.1-r1.ebuild
index 90940c26247..16fa356e1b8 100644
--- a/sys-fs/treesize/treesize-0.54.1-r1.ebuild
+++ b/sys-fs/treesize/treesize-0.54.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,5 +23,10 @@ PATCHES=(
 
 src_prepare() {
        default
+
+       # Bogus shipped symlinks to a fixed version of automake
+       # bug #760498
+       rm config.{guess,sub} || die
+
        eautoreconf
 }

Reply via email to