diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-09-27 12:19:42 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-09-27 12:19:56 +0200 |
commit | 797f7f7c8100d087277eef031b671a9acb34f7fe (patch) | |
tree | f176ba364bdc4852d6fa1639cc43a221271a0cbe /app-accessibility/speech-tools/speech-tools-2.5.0.ebuild | |
parent | media-gfx/fdm-materials: version bump 4.7.0 (diff) | |
download | gentoo-797f7f7c8100d087277eef031b671a9acb34f7fe.tar.gz gentoo-797f7f7c8100d087277eef031b671a9acb34f7fe.tar.bz2 gentoo-797f7f7c8100d087277eef031b671a9acb34f7fe.zip |
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>
Diffstat (limited to 'app-accessibility/speech-tools/speech-tools-2.5.0.ebuild')
-rw-r--r-- | app-accessibility/speech-tools/speech-tools-2.5.0.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild b/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild index 184920c28003..8a41ef402844 100644 --- a/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild +++ b/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild @@ -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() { |