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@gentoo.org>
This commit is contained in:
Sam James
2023-05-02 23:50:03 +01:00
parent 6cbc79e3ae
commit 191fbdaf98

View File

@@ -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