From 191fbdaf985652a3873a545226a53cc2ad37de41 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 2 May 2023 23:50:03 +0100 Subject: [PATCH] dev-libs/libstrophe: avoid maintainer mode b/c of bashisms patch The bashisms patch touches configure.ac so it causes maintainer mode in src_compile. Run eautoreconf instead. Bug: https://bugs.gentoo.org/877049 Bug: https://bugs.gentoo.org/879533 Signed-off-by: Sam James --- dev-libs/libstrophe/libstrophe-0.12.2.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-libs/libstrophe/libstrophe-0.12.2.ebuild b/dev-libs/libstrophe/libstrophe-0.12.2.ebuild index 712039ac8782e..1e4a8b48e6330 100644 --- a/dev-libs/libstrophe/libstrophe-0.12.2.ebuild +++ b/dev-libs/libstrophe/libstrophe-0.12.2.ebuild @@ -2,6 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + +inherit autotools + DESCRIPTION="A simple, lightweight C library for writing XMPP clients" HOMEPAGE="https://strophe.im/libstrophe/" # 2nd SRC is a backport of the /bin/sh -> dash fix, #877049, #879533 @@ -34,6 +37,13 @@ PATCHES=( "${DISTDIR}/${PN}-fix-configure-bashisms.patch" ) +src_prepare() { + default + + # Needed for bashisms patch which touches configure + eautoreconf +} + src_configure() { # shellcheck disable=SC2207 local myeconf=( @@ -43,6 +53,7 @@ src_configure() { ) econf "${myeconf[@]}" } + src_compile() { default if use doc; then