Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 454720
Collapse All | Expand All

(-)v8-3.16.11.1.ebuild (-6 / +20 lines)
Lines 19-25 Link Here
19
19
20
DEPEND="${PYTHON_DEPS}"
20
DEPEND="${PYTHON_DEPS}"
21
21
22
src_compile() {
22
src_configure() {
23
	tc-export AR CC CXX RANLIB
23
	tc-export AR CC CXX RANLIB
24
	export LINK=${CXX}
24
	export LINK=${CXX}
25
25
Lines 42-61 Link Here
42
	esac
42
	esac
43
	mytarget=${myarch}.release
43
	mytarget=${myarch}.release
44
44
45
	local snapshot=on
46
	host-is-pax && snapshot=off
47
48
	# TODO: Add console=readline option once implemented upstream
45
	# TODO: Add console=readline option once implemented upstream
49
	# http://code.google.com/p/v8/issues/detail?id=1781
46
	# http://code.google.com/p/v8/issues/detail?id=1781
50
47
48
	# Generate the real Makefile.
51
	emake V=1 \
49
	emake V=1 \
52
		library=shared \
50
		library=shared \
53
		werror=no \
51
		werror=no \
54
		soname_version=${soname_version} \
52
		soname_version=${soname_version} \
55
		snapshot=${snapshot} \
53
		snapshot=on \
56
		hardfp=${hardfp} \
54
		hardfp=${hardfp} \
57
		${mytarget} || die
55
		out/Makefile.${myarch} || die
56
}
57
58
src_compile() {
59
	local makeargs=(
60
		-C out
61
		-f Makefile.${myarch}
62
		V=1
63
		BUILDTYPE=Release
64
		builddir="${S}/out/${mytarget}"
65
	)
66
67
	# Build mksnapshot so we can pax-mark it.
68
	emake "${makeargs[@]}" mksnapshot || die
69
	pax-mark m out/${mytarget}/mksnapshot
58
70
71
	# Build everything else.
72
	emake "${makeargs[@]}" || die
59
	pax-mark m out/${mytarget}/{cctest,d8,shell} || die
73
	pax-mark m out/${mytarget}/{cctest,d8,shell} || die
60
}
74
}
61
75

Return to bug 454720