Commit 47db907c authored by Timo Teräs's avatar Timo Teräs

main/nodejs: use paxmark

parent 5b75cd15
......@@ -2,13 +2,13 @@
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=nodejs
pkgver=0.10.33
pkgrel=0
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
url='http://nodejs.org/'
arch='all'
license='MIT'
makedepends="$depends_dev python openssl-dev zlib-dev libuv-dev c-ares-dev
paxctl"
paxmark"
subpackages="$pkgname-dev $pkgname-doc"
source="http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz"
......@@ -20,7 +20,7 @@ build() {
--shared-cares \
--shared-openssl || return 1
make -C out BUILDTYPE=Release mksnapshot || return 1
paxctl -c -m out/Release/mksnapshot || return 1
paxmark -m out/Release/mksnapshot || return 1
make || return 1
}
......@@ -30,7 +30,7 @@ package() {
cd "$srcdir"/node-v$pkgver
make DESTDIR="$pkgdir" install || return 1
# paxmark so JIT works
paxctl -cm "$pkgdir"/usr/bin/node || return 1
paxmark -m "$pkgdir"/usr/bin/node || return 1
cp -pr "$pkgdir"/usr/lib/node_modules/npm/man "$pkgdir"/usr/share || return 1
for d in doc html man; do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment