festival/festival-2.5.0-use-system-speech-tools.patch
Petr Šabata 8b775a3350 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/festival#572e588257e2dfb6c2861472402dd478bf49360d
2020-10-15 00:18:39 +02:00

18 lines
661 B
Diff

diff -u --recursive festival-vanilla/config/config.in festival/config/config.in
--- festival-vanilla/config/config.in 2018-08-29 21:19:10.570829790 -0400
+++ festival/config/config.in 2018-08-29 21:19:57.329977377 -0400
@@ -10,7 +10,12 @@
###########################################################################
## Which speech tools to use
-EST=$(TOP)/../speech_tools
+ARCH := $(shell uname -p)
+ifeq ($(ARCH),$(filter $(ARCH),x86_64 s390x ppc64le aarch64))
+EST=/usr/lib64/speech_tools
+else
+EST=/usr/lib/speech_tools
+endif
###########################################################################
## Where the festival tree will be installed.