summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2011-01-22 10:05:32 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2011-01-22 10:05:32 +0000
commit6728a088eb4392c0ef06d2ab07c61fc9f0adc15d (patch)
tree84f06bed9e5bd112bd59afbe603eb9179b7fbe33 /dev-lang/v8/v8-9999.ebuild
parentVersion bump (diff)
downloadgentoo-2-6728a088eb4392c0ef06d2ab07c61fc9f0adc15d.tar.gz
gentoo-2-6728a088eb4392c0ef06d2ab07c61fc9f0adc15d.tar.bz2
gentoo-2-6728a088eb4392c0ef06d2ab07c61fc9f0adc15d.zip
Fix src_test, bug #352374 by Nikoli <nikoli@lavabit.com>.
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'dev-lang/v8/v8-9999.ebuild')
-rw-r--r--dev-lang/v8/v8-9999.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-lang/v8/v8-9999.ebuild b/dev-lang/v8/v8-9999.ebuild
index 568ed4ae9af9..4d24265d14d7 100644
--- a/dev-lang/v8/v8-9999.ebuild
+++ b/dev-lang/v8/v8-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-9999.ebuild,v 1.4 2011/01/14 12:44:43 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-9999.ebuild,v 1.5 2011/01/22 10:05:32 phajdan.jr Exp $
EAPI="2"
@@ -84,7 +84,10 @@ src_install() {
}
src_test() {
- tools/test.py --no-build -p dots || die
+ # Make sure we use the libv8.so from our build directory,
+ # and not the /usr/lib one (it may be missing if we are
+ # installing for the first time or upgrading), see bug #352374.
+ LD_LIBRARY_PATH="${S}" tools/test.py --no-build -p dots || die
}
pkg_postinst() {