mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-accessibility/speech-dispatcher: pass LDFLAGS, don't call help2man w/ cross-compile
fix LDFLAGS= in src/modules/Makefile.am (fixed in master) manpages can't be generated w/ cross-compile, just launch --help Closes: https://bugs.gentoo.org/954366 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://codeberg.org/gentoo/gentoo/pulls/633 Merges: https://codeberg.org/gentoo/gentoo/pulls/633 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
07d854ab82
commit
1b0a49c237
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit python-r1 systemd
|
||||
inherit python-r1 systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Speech synthesis interface"
|
||||
HOMEPAGE="https://freebsoft.org/speechd"
|
||||
@@ -41,6 +41,9 @@ src_configure() {
|
||||
# bug 573732
|
||||
export GIT_CEILING_DIRECTORIES="${WORKDIR}"
|
||||
|
||||
# manpages can't be generated w/o launching programs
|
||||
tc-is-cross-compiler && export ac_cv_prog_HELP2MAN=
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-ltdl
|
||||
--disable-python
|
||||
@@ -72,7 +75,8 @@ src_configure() {
|
||||
src_compile() {
|
||||
use python && python_copy_sources
|
||||
|
||||
emake
|
||||
# LDFLAGS fixed in master, remove w/ >0.12.1
|
||||
emake LDFLAGS="${LDFLAGS}"
|
||||
|
||||
if use python; then
|
||||
building() {
|
||||
@@ -124,4 +128,9 @@ pkg_postinst() {
|
||||
ewarn "and make sure the settings there match your system."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
ewarn "The manpages are not generated due to cross-compilation."
|
||||
ewarn "Launching the commands with --help is equivalent."
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user