1 |
phajdan.jr 10/10/05 15:30:34 |
2 |
|
3 |
Modified: ChangeLog v8-2.4.3.ebuild |
4 |
Log: |
5 |
Add support for building on amd64, thanks to Priit Laes <plaes@×××××.org> in bug #337766. |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.4 dev-lang/v8/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.4&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.4&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.3&r2=1.4 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v |
18 |
retrieving revision 1.3 |
19 |
retrieving revision 1.4 |
20 |
diff -u -r1.3 -r1.4 |
21 |
--- ChangeLog 17 Sep 2010 00:08:36 -0000 1.3 |
22 |
+++ ChangeLog 5 Oct 2010 15:30:34 -0000 1.4 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-lang/v8 |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.3 2010/09/17 00:08:36 phajdan.jr Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.4 2010/10/05 15:30:34 phajdan.jr Exp $ |
28 |
+ |
29 |
+ 05 Oct 2010; Pawel Hajdan jr <phajdan.jr@g.o> v8-2.4.3.ebuild: |
30 |
+ Add support for building on amd64, thanks to Priit Laes <plaes@×××××.org> |
31 |
+ in bug #337766. |
32 |
|
33 |
*v8-2.4.3 (17 Sep 2010) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 dev-lang/v8/v8-2.4.3.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.4.3.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.4.3.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-2.4.3.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: v8-2.4.3.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.4.3.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- v8-2.4.3.ebuild 17 Sep 2010 00:08:36 -0000 1.1 |
51 |
+++ v8-2.4.3.ebuild 5 Oct 2010 15:30:34 -0000 1.2 |
52 |
@@ -1,6 +1,6 @@ |
53 |
# Copyright 1999-2010 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.4.3.ebuild,v 1.1 2010/09/17 00:08:36 phajdan.jr Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.4.3.ebuild,v 1.2 2010/10/05 15:30:34 phajdan.jr Exp $ |
57 |
|
58 |
EAPI="2" |
59 |
|
60 |
@@ -52,6 +52,18 @@ |
61 |
|
62 |
local myconf="" |
63 |
|
64 |
+ # Use target arch detection logic from bug #296917. |
65 |
+ local myarch="$ABI" |
66 |
+ [[ $myarch = "" ]] && myarch="$ARCH" |
67 |
+ |
68 |
+ if [[ $myarch = amd64 ]] ; then |
69 |
+ myconf+=" arch=x64" |
70 |
+ elif [[ $myarch = x86 ]] ; then |
71 |
+ myconf+=" arch=ia32" |
72 |
+ else |
73 |
+ die "Failed to determine target arch, got '$myarch'." |
74 |
+ fi |
75 |
+ |
76 |
if use readline; then |
77 |
myconf="${myconf} console=readline" |
78 |
else |