From 8538cf87ad5782d028faca00ddc0ce13073e3bdc Mon Sep 17 00:00:00 2001 From: Petr Vaněk Date: Fri, 26 Aug 2022 14:50:46 +0200 Subject: dev-util/strace: fix live ebuild MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is necessary to call ./bootstrap script before eautoreconf, otherwise automake fails complaining about missing files or directories. The live ebuild is broken since commit a6b222b1be5b, where eautoreconf started to be used even for non-live ebuilds, but it was wrongly placed. Additionally, edo function is used for ./bootstrap call. Fixes: a6b222b1be5b ("dev-util/strace: Fix building with USE="static".") Signed-off-by: Petr Vaněk Closes: https://github.com/gentoo/gentoo/pull/27038 Signed-off-by: Sam James --- dev-util/strace/strace-9999.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'dev-util/strace') diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild index edcd42346ba7..49ada010927a 100644 --- a/dev-util/strace/strace-9999.ebuild +++ b/dev-util/strace/strace-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools flag-o-matic toolchain-funcs +inherit autotools edo flag-o-matic toolchain-funcs if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/strace/strace.git" @@ -45,16 +45,15 @@ PATCHES=( src_prepare() { default - eautoreconf - if [[ ! -e configure ]] ; then # git generation sed /autoreconf/d -i bootstrap || die - ./bootstrap || die - eautoreconf + edo ./bootstrap [[ ! -e CREDITS ]] && cp CREDITS{.in,} fi + eautoreconf + # Stub out the -k test since it's known to be flaky. bug #545812 sed -i '1iexit 77' tests*/strace-k.test || die } -- cgit v1.2.3-65-gdbad