commit:     191fbdaf985652a3873a545226a53cc2ad37de41
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May  2 22:50:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May  2 22:53:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=191fbdaf

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 <sam <AT> gentoo.org>

 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 712039ac8782..1e4a8b48e633 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

Reply via email to