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
commit2a4e405978d98cff5940fd49f9f2a92faa23e2fd (patch)
treef1614780e0936c16e2900a9234fea6554e215711 /sys-devel/gettext/files
parentstabilize alpha ia64 (diff)
downloadhistorical-2a4e405978d98cff5940fd49f9f2a92faa23e2fd.tar.gz
historical-2a4e405978d98cff5940fd49f9f2a92faa23e2fd.tar.bz2
historical-2a4e405978d98cff5940fd49f9f2a92faa23e2fd.zip
fix test execution #81628
Package-Manager: portage-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" \