Lines 6-12
EAPI=7
Link Here
|
6 |
PYTHON_COMPAT=( python3_{7..9} ) |
6 |
PYTHON_COMPAT=( python3_{7..9} ) |
7 |
PYTHON_REQ_USE="threads(+)" |
7 |
PYTHON_REQ_USE="threads(+)" |
8 |
|
8 |
|
9 |
inherit bash-completion-r1 flag-o-matic python-any-r1 toolchain-funcs xdg-utils |
9 |
inherit bash-completion-r1 flag-o-matic pax-utils python-any-r1 toolchain-funcs xdg-utils |
10 |
|
10 |
|
11 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
11 |
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" |
12 |
HOMEPAGE="https://nodejs.org/" |
12 |
HOMEPAGE="https://nodejs.org/" |
Lines 16-22
LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2
Link Here
|
16 |
SLOT="0/$(ver_cut 1)" |
16 |
SLOT="0/$(ver_cut 1)" |
17 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x64-macos" |
17 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x64-macos" |
18 |
|
18 |
|
19 |
IUSE="cpu_flags_x86_sse2 debug doc +icu inspector +npm +snapshot +ssl system-icu +system-ssl systemtap test" |
19 |
IUSE="cpu_flags_x86_sse2 debug doc +icu inspector +npm pax_kernel +snapshot +ssl system-icu +system-ssl systemtap test" |
20 |
REQUIRED_USE="inspector? ( icu ssl ) |
20 |
REQUIRED_USE="inspector? ( icu ssl ) |
21 |
npm? ( ssl ) |
21 |
npm? ( ssl ) |
22 |
system-icu? ( icu ) |
22 |
system-icu? ( icu ) |
Lines 35-40
RDEPEND=">=app-arch/brotli-1.0.9
Link Here
|
35 |
BDEPEND="${PYTHON_DEPS} |
35 |
BDEPEND="${PYTHON_DEPS} |
36 |
sys-apps/coreutils |
36 |
sys-apps/coreutils |
37 |
systemtap? ( dev-util/systemtap ) |
37 |
systemtap? ( dev-util/systemtap ) |
|
|
38 |
pax_kernel? ( sys-apps/elfix ) |
38 |
test? ( net-misc/curl )" |
39 |
test? ( net-misc/curl )" |
39 |
DEPEND="${RDEPEND}" |
40 |
DEPEND="${RDEPEND}" |
40 |
|
41 |
|
Lines 85-90
src_prepare() {
Link Here
|
85 |
BUILDTYPE=Debug |
86 |
BUILDTYPE=Debug |
86 |
fi |
87 |
fi |
87 |
|
88 |
|
|
|
89 |
# We need to disable mprotect on two files when it builds Bug 694100. |
90 |
use pax_kernel && PATCHES+=( "${FILESDIR}"/${PN}-13.8.0-paxmarking.patch ) |
91 |
|
88 |
default |
92 |
default |
89 |
} |
93 |
} |
90 |
|
94 |
|
Lines 144-149
src_install() {
Link Here
|
144 |
local LIBDIR="${ED}/usr/$(get_libdir)" |
148 |
local LIBDIR="${ED}/usr/$(get_libdir)" |
145 |
default |
149 |
default |
146 |
|
150 |
|
|
|
151 |
if use pax_kernel; then |
152 |
pax-mark -m "${ED}"/usr/bin/node |
153 |
fi |
154 |
|
147 |
# set up a symlink structure that node-gyp expects.. |
155 |
# set up a symlink structure that node-gyp expects.. |
148 |
dodir /usr/include/node/deps/{v8,uv} |
156 |
dodir /usr/include/node/deps/{v8,uv} |
149 |
dosym . /usr/include/node/src |
157 |
dosym . /usr/include/node/src |