summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-12 22:13:02 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-12 22:13:02 +0000
commit0ff488797b58e2ef9e3def7f8c59b00eb5917a05 (patch)
tree9497ddbad21ac3109654a93f08b6d3b2639077d7 /sys-devel/gettext/files
parentstabilize alpha ia64 (diff)
downloadgentoo-2-0ff488797b58e2ef9e3def7f8c59b00eb5917a05.tar.gz
gentoo-2-0ff488797b58e2ef9e3def7f8c59b00eb5917a05.tar.bz2
gentoo-2-0ff488797b58e2ef9e3def7f8c59b00eb5917a05.zip
fix test execution #81628
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel/gettext/files')
-rw-r--r--sys-devel/gettext/files/gettext-0.14.1-lib-path-tests.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-devel/gettext/files/gettext-0.14.1-lib-path-tests.patch b/sys-devel/gettext/files/gettext-0.14.1-lib-path-tests.patch
new file mode 100644
index 000000000000..8a6a695eb63f
--- /dev/null
+++ b/sys-devel/gettext/files/gettext-0.14.1-lib-path-tests.patch
@@ -0,0 +1,17 @@
+The test env manipulates $PATH, executing binaries whose libraries
+have not yet been installed into the standard library search path.
+Thus we manipulate LD_LIBRARY_PATH so that the current binaries
+run with the current libraries.
+
+http://bugs.gentoo.org/show_bug.cgi?id=81628
+
+--- gettext-tools/tests/Makefile.in
++++ gettext-tools/tests/Makefile.in
+@@ -122,6 +122,7 @@
+
+ TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) \
+ PATH=.:../src:../../gettext-runtime/src:$(top_srcdir)/../gettext-runtime/src:$$PATH \
++ LD_LIBRARY_PATH=../lib/.libs:../src/.libs:$$LD_LIBRARY_PATH \
+ GETTEXT="$(CHECKER) tstgettext" \
+ NGETTEXT="$(CHECKER) tstngettext" \
+ XGETTEXT="$(CHECKER) xgettext" \