mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
nodejs: update to 16.15.1.
This commit is contained in:
parent
6ccac45a35
commit
4f67be3c41
1 changed files with 4 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'nodejs'
|
# Template file for 'nodejs'
|
||||||
pkgname=nodejs
|
pkgname=nodejs
|
||||||
version=16.14.0
|
version=16.15.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="node-v${version}"
|
wrksrc="node-v${version}"
|
||||||
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
|
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
|
||||||
|
@ -15,8 +15,8 @@ short_desc="Evented I/O for V8 javascript"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://nodejs.org/"
|
homepage="https://nodejs.org/"
|
||||||
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
|
distfiles="https://nodejs.org/dist/v${version}/node-v${version}.tar.gz"
|
||||||
checksum=29dfce13650f063ff009d18349636333fa4305468b6a8965d442c2e88b1dd60f
|
checksum=308aee7149c4092a53c87c28ef49e23a8d1606119e79ae68333062e2a1f94208
|
||||||
python_version=3
|
python_version=3
|
||||||
|
|
||||||
build_options="ssl libuv icu nghttp2 cares"
|
build_options="ssl libuv icu nghttp2 cares"
|
||||||
|
@ -42,17 +42,12 @@ fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc64*) ;;
|
ppc64*) ;;
|
||||||
ppc*) broken="Node 12.x does not support 32-bit ppc" ;;
|
ppc*) broken="Node 16.x does not support 32-bit ppc" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
|
|
||||||
post_patch() {
|
|
||||||
# XXX Drop after c-ares 1.17.3 has been released.
|
|
||||||
vsed -i -e 's:<ares_nameser.h>:<arpa/nameser.h>:g' src/cares_wrap.h
|
|
||||||
}
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local _args
|
local _args
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue