File speech_tools-no-LD_LIBRARY_PATH-extension.patch of Package festival
Index: speech_tools/scripts/shared_script
===================================================================
--- speech_tools.orig/scripts/shared_script
+++ speech_tools/scripts/shared_script
@@ -1,24 +1,5 @@
#!/bin/sh
-# EST shared script
-
-extend() {
- var="$1"
- extra="$2"
- eval "val=\$$var"
-
- if [ -n "$val" ]
- then
- val="$extra:$val"
- else
- val="$extra"
- fi
- eval "$var='$val'"
- eval "export $var"
- }
-
-extend __LDVAR__ "__LIB__:__LDPATH__"
-
exec __MAIN__/__PROGRAM__ "$@"
exit 0
Index: speech_tools/scripts/shared_setup_prl
===================================================================
--- speech_tools.orig/scripts/shared_setup_prl
+++ speech_tools/scripts/shared_setup_prl
@@ -1,10 +1,2 @@
-if (defined($ENV{LD_LIBRARY_PATH}))
- {
- $ENV{LD_LIBRARY_PATH} = "__TOP__/lib:__LDPATH__:$ENV{LD_LIBRARY_PATH}";
- }
-else
- {
- $ENV{LD_LIBRARY_PATH} = "__TOP__/lib";
- }
Index: speech_tools/scripts/shared_setup_sh
===================================================================
--- speech_tools.orig/scripts/shared_setup_sh
+++ speech_tools/scripts/shared_setup_sh
@@ -1,20 +1,2 @@
-# EST shared setup
-
-extend() {
- var="$1"
- extra="$2"
- eval "val=\$$var"
-
- if [ -n "$val" ]
- then
- val="$extra:$val"
- else
- val="$extra"
- fi
- eval "$var='$val'"
- eval "export $var"
- }
-
-extend LD_LIBRARY_PATH "__TOP__/lib:__LDPATH__"