1 |
phajdan.jr 10/11/03 17:54:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: v8-2.5.2.ebuild |
5 |
Log: |
6 |
Version bump, bug #339848 by Johan Bergstroem <bugs@××××××××××.nu>. |
7 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 dev-lang/v8/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- ChangeLog 2 Nov 2010 08:49:28 -0000 1.9 |
23 |
+++ ChangeLog 3 Nov 2010 17:54:27 -0000 1.10 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-lang/v8 |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.9 2010/11/02 08:49:28 phajdan.jr Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.10 2010/11/03 17:54:27 phajdan.jr Exp $ |
29 |
+ |
30 |
+*v8-2.5.2 (03 Nov 2010) |
31 |
+ |
32 |
+ 03 Nov 2010; Pawel Hajdan jr <phajdan.jr@g.o> +v8-2.5.2.ebuild: |
33 |
+ Version bump, bug #339848 by Johan Bergstroem <bugs@××××××××××.nu>. |
34 |
|
35 |
02 Nov 2010; Pawel Hajdan jr <phajdan.jr@g.o> v8-2.4.9.10.ebuild: |
36 |
Drop unneeded patch. |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-lang/v8/v8-2.5.2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.5.2.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.5.2.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: v8-2.5.2.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2010 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.5.2.ebuild,v 1.1 2010/11/03 17:54:27 phajdan.jr Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
inherit eutils flag-o-matic multilib scons-utils subversion toolchain-funcs |
54 |
|
55 |
ESVN_REPO_URI="http://v8.googlecode.com/svn/tags/${PV}" |
56 |
|
57 |
DESCRIPTION="Google's open source JavaScript engine" |
58 |
HOMEPAGE="http://code.google.com/p/v8" |
59 |
LICENSE="BSD" |
60 |
|
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~x86" |
63 |
IUSE="readline" |
64 |
|
65 |
RDEPEND="readline? ( >=sys-libs/readline-6.1 )" |
66 |
DEPEND="${RDEPEND}" |
67 |
|
68 |
EXTRA_ESCONS="library=shared soname=on" |
69 |
|
70 |
pkg_setup() { |
71 |
tc-export AR CC CXX RANLIB |
72 |
} |
73 |
|
74 |
src_prepare() { |
75 |
# Stop -Werror from breaking the build. |
76 |
epatch "${FILESDIR}"/${PN}-no-werror-r0.patch |
77 |
|
78 |
# Respect the user's CFLAGS, including the optimization level. |
79 |
epatch "${FILESDIR}"/${PN}-no-O3-r0.patch |
80 |
|
81 |
# Remove a test that is known to fail: |
82 |
# http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06 |
83 |
rm test/mjsunit/debug-script.js || die |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
# GCC issues multiple warnings about strict-aliasing issues in v8 code. |
88 |
append-flags -fno-strict-aliasing |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
local myconf="" |
93 |
|
94 |
# Use target arch detection logic from bug #296917. |
95 |
local myarch="$ABI" |
96 |
[[ $myarch = "" ]] && myarch="$ARCH" |
97 |
|
98 |
if [[ $myarch = amd64 ]] ; then |
99 |
myconf+=" arch=x64" |
100 |
elif [[ $myarch = x86 ]] ; then |
101 |
myconf+=" arch=ia32" |
102 |
else |
103 |
die "Failed to determine target arch, got '$myarch'." |
104 |
fi |
105 |
|
106 |
escons $(use_scons readline console readline dumb) ${myconf} . || die |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
insinto /usr |
111 |
doins -r include || die |
112 |
|
113 |
dobin d8 || die |
114 |
|
115 |
dolib libv8-${PV}.so || die |
116 |
dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die |
117 |
|
118 |
dodoc AUTHORS ChangeLog || die |
119 |
} |
120 |
|
121 |
src_test() { |
122 |
tools/test.py --no-build -p dots --shell d8 || die |
123 |
} |