app-accessibility/speech-tools: fixed calling ar and ranlib in 2.5.0

Closes: https://bugs.gentoo.org/738880
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2020-09-27 12:19:42 +02:00
parent d756f13ebc
commit 797f7f7c81

View File

@@ -79,20 +79,24 @@ src_prepare() {
src_configure() {
local CONFIG=config/config.in
sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG} || die
if use nas; then
sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" \
${CONFIG} || die
fi
if ! use X; then
sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak || die
fi
econf
}
src_compile() {
emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXX_OTHER_FLAGS="${CXXFLAGS}" CC_OTHER_FLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" LDFLAGS="${LDFLAGS}"
}
src_install() {