mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user