1 |
commit: 797f7f7c8100d087277eef031b671a9acb34f7fe |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 10:19:42 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 10:19:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=797f7f7c |
7 |
|
8 |
app-accessibility/speech-tools: fixed calling ar and ranlib in 2.5.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/738880 |
11 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
app-accessibility/speech-tools/speech-tools-2.5.0.ebuild | 6 +++++- |
15 |
1 file changed, 5 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild b/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild |
18 |
index 184920c2800..8a41ef40284 100644 |
19 |
--- a/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild |
20 |
+++ b/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild |
21 |
@@ -79,20 +79,24 @@ src_prepare() { |
22 |
|
23 |
src_configure() { |
24 |
local CONFIG=config/config.in |
25 |
+ |
26 |
sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG} || die |
27 |
+ |
28 |
if use nas; then |
29 |
sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" \ |
30 |
${CONFIG} || die |
31 |
fi |
32 |
+ |
33 |
if ! use X; then |
34 |
sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak || die |
35 |
fi |
36 |
+ |
37 |
econf |
38 |
} |
39 |
|
40 |
src_compile() { |
41 |
emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXX_OTHER_FLAGS="${CXXFLAGS}" CC_OTHER_FLAGS="${CFLAGS}" \ |
42 |
- LDFLAGS="${LDFLAGS}" |
43 |
+ AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" LDFLAGS="${LDFLAGS}" |
44 |
} |
45 |
|
46 |
src_install() { |