commit:     0c0900402038cccdb09e0c56244dd81d5b99ee14
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 21:02:38 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 21:04:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c090040

sys-apps/sed: avoid eautoreconf for prefix

For prefix, we might not have autotools when bootstrapping, so avoid
eautoreconf there. We added it for some Modern C bits so it's not *critical*
and can be avoided in that case.

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

 sys-apps/sed/sed-4.9-r1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-apps/sed/sed-4.9-r1.ebuild b/sys-apps/sed/sed-4.9-r1.ebuild
index 564b3f9c3765..9129b5a48354 100644
--- a/sys-apps/sed/sed-4.9-r1.ebuild
+++ b/sys-apps/sed/sed-4.9-r1.ebuild
@@ -35,8 +35,12 @@ BDEPEND="nls? ( sys-devel/gettext )
 
 src_prepare() {
        default
-       # Modern C fixes from latest autotools. bug #900382
-       eautoreconf
+
+       # Ignore prefix as a workaround for bug #934329
+       if ! use prefix ; then
+               # Modern C fixes from latest autotools. bug #900382
+               eautoreconf
+       fi
 }
 
 src_configure() {

Reply via email to