diff options
Diffstat (limited to 'main/nodejs')
-rw-r--r-- | main/nodejs/APKBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/main/nodejs/APKBUILD b/main/nodejs/APKBUILD index 8ad6bea33e..599a168d40 100644 --- a/main/nodejs/APKBUILD +++ b/main/nodejs/APKBUILD @@ -2,13 +2,14 @@ # Maintainer: Eivind Uggedal <eivind@uggedal.com> pkgname=nodejs pkgver=4.2.6 -pkgrel=0 +pkgrel=1 pkgdesc='Evented I/O for V8 javascript' url='http://nodejs.org/' arch='all' license='MIT' +# gold is needed for mksnapshot makedepends="$depends_dev python openssl-dev zlib-dev libuv-dev - linux-headers paxmark" + linux-headers paxmark binutils-gold" subpackages="$pkgname-dev $pkgname-doc" source="http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz issue-4221.patch" @@ -32,8 +33,11 @@ build() { --shared-libuv \ $_FPU \ --shared-openssl \ - --without-snapshot || return 1 - make || return 1 + || return 1 + # we need run mksnapshot at build time so paxmark it early + make -C out mksnapshot BUILDTYPE=Release \ + && paxmark -m out/Release/mksnapshot \ + && make || return 1 } package() { |