nodejs: always use ninja and libnghttp2

This commit is contained in:
Tim Biermann 2022-01-15 15:45:26 +01:00
parent 1a16357064
commit 5d47ad15e2
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/d8zdAATBeqeF7V9wLlSmNZcYMLqYow0/CKjwgxhX0UhF2hJ24TQEvZS94RAI3ZhsSuezQ5Mm72Iy+fUXSRPfw8=
SHA256 (Pkgfile) = 79f4ca311e04b421e1b7894d3c0a3c4f5c7fbf1910d344d342deb16bd7914dc0
RWSE3ohX2g5d/exV20IhsOtNS9xWpDDLEUdeWkq0/3unisAeGxPlZxkoV7q/ZBy9Cy3r1ugGmP18iOf6p/KDXsqac6PW6gc0jww=
SHA256 (Pkgfile) = bc9c9ab0a8f930c6f5ec06442bfcc8395446ccf927d13af24741f02fd74bffe1
SHA256 (.footprint) = bc06e0f609da6ffdeca65f732982e6fe92ccb95853ec223fcaf9326914521e75
SHA256 (node-v17.3.0.tar.xz) = e4e4c4e64854698f2590144a177bcc7e7c0befb52020288fdae5c0da0d015d03
SHA256 (system-c-ares.patch) = 1ab0f849fe4fae2d295b6c60c12825d5f2c29f5b28b721916d1b550704b0f5f3

View File

@ -1,12 +1,12 @@
# Description: Evented I/O for V8 javascript.
# URL: https://nodejs.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: openssl libuv zlib
# Optional: brotli c-ares icu nghttp2-libs ninja
# Depends on: libnghttp2 libuv openssl zlib
# Optional: brotli c-ares icu
name=nodejs
version=17.3.0
release=1
release=2
source=(https://nodejs.org/dist/v$version/node-v$version.tar.xz
system-c-ares.patch)
@ -17,16 +17,17 @@ build() {
prt-get isinst c-ares && PKGMK_NODEJS+=' --shared-cares'
prt-get isinst c-ares && patch -Rp1 -i $SRC/system-c-ares.patch
prt-get isinst icu && PKGMK_NODEJS+=' --with-intl=system-icu'
prt-get isinst nghttp2-libs && PKGMK_NODEJS+=' --experimental-http-parser --shared-nghttp2'
prt-get isinst ninja && PKGMK_NODEJS+=' --ninja'
./configure ${PKGMK_NODEJS} \
--prefix=/usr \
--enable-lto \
--ninja \
--without-npm \
--shared-libuv \
--shared-zlib \
--shared-openssl
--shared-openssl \
--shared-nghttp2 \
--experimental-http-parser
make
make DESTDIR=$PKG install