Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 429298 | Differences between
and this patch

Collapse All | Expand All

(-)a/dev-lang/v8/v8-3.11.10.17-r1.ebuild (-1 / +7 lines)
Lines 14-20 SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}. Link Here
14
LICENSE="BSD"
14
LICENSE="BSD"
15
15
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
17
KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x64-macos ~x86-macos ~arm"
18
IUSE=""
18
IUSE=""
19
19
20
pkg_setup() {
20
pkg_setup() {
Lines 24-35 pkg_setup() { Link Here
24
24
25
src_prepare() {
25
src_prepare() {
26
       epatch "${FILESDIR}"/${PN}-3.10.8.10-freebsd9.patch
26
       epatch "${FILESDIR}"/${PN}-3.10.8.10-freebsd9.patch
27
        epatch "${FILESDIR}"/${PN}-3.11.10.17-makefile-hardfp.patch
27
}
28
}
28
29
29
src_compile() {
30
src_compile() {
30
       tc-export AR CC CXX RANLIB
31
       tc-export AR CC CXX RANLIB
31
       export LINK=${CXX}
32
       export LINK=${CXX}
32
33
34
        hardfp=off
33
       # Use target arch detection logic from bug #354601.
35
       # Use target arch detection logic from bug #354601.
34
       case ${CHOST} in
36
       case ${CHOST} in
35
               i?86-*) myarch=ia32 ;;
37
               i?86-*) myarch=ia32 ;;
Lines 39-44 src_compile() { Link Here
39
                       else
41
                       else
40
                               myarch=x64
42
                               myarch=x64
41
                       fi ;;
43
                       fi ;;
44
                arm*-hardfloat-*)
45
                        myarch=arm
46
                        hardfp=on ;;
42
               arm*-*) myarch=arm ;;
47
               arm*-*) myarch=arm ;;
43
               *) die "Unrecognized CHOST: ${CHOST}"
48
               *) die "Unrecognized CHOST: ${CHOST}"
44
       esac
49
       esac
Lines 57-62 src_compile() { Link Here
57
               werror=no \
62
               werror=no \
58
               soname_version=${soname_version} \
63
               soname_version=${soname_version} \
59
               snapshot=${snapshot} \
64
               snapshot=${snapshot} \
65
                hardfp=${hardfp} \
60
               ${mytarget} || die
66
               ${mytarget} || die
61
67
62
       pax-mark m out/${mytarget}/{cctest,d8,shell} || die
68
       pax-mark m out/${mytarget}/{cctest,d8,shell} || die

Return to bug 429298