diff options
author | Eric Hameleers <alien@slackware.com> | 2022-08-14 19:14:47 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-08-14 19:14:47 +0000 |
commit | 52d6ad5b0fd0674e48c937c4a42b86738f638b77 (patch) | |
tree | 38e99a3108c62e17c3e2668bbcbfeeea15c78b1a | |
parent | 7c12773593fa6a109ea0601b334e3ee30a2f1a53 (diff) | |
download | asb-52d6ad5b0fd0674e48c937c4a42b86738f638b77.tar.gz asb-52d6ad5b0fd0674e48c937c4a42b86738f638b77.tar.xz |
nodejs: update to 18.7.0
-rwxr-xr-x | nodejs/build/nodejs.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/nodejs/build/nodejs.SlackBuild b/nodejs/build/nodejs.SlackBuild index 8d9c28c2..3b76807b 100755 --- a/nodejs/build/nodejs.SlackBuild +++ b/nodejs/build/nodejs.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright 2017, 2018, 2020, 2021 Eric Hameleers, Eindhoven, NL +# Copyright 2017, 2018, 2020, 2021, 2022 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -49,6 +49,8 @@ # * Update. # 15.6.0-1: 20/jan/2021 by Eric Hameleers <alien@slackware.com> # * Update. +# 18.7.0-1: 14/aug/2022 by Eric Hameleers <alien@slackware.com> +# * Update. # # Run 'sh nodejs.SlackBuild' to build a Slackware package. # The package (.t?z) and .txt file as well as build logs are created in /tmp . @@ -58,7 +60,7 @@ PRGNAM=nodejs SRCNAM=node -VERSION=${VERSION:-15.6.0} +VERSION=${VERSION:-18.7.0} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(nproc) "} TAG=${TAG:-alien} @@ -175,12 +177,11 @@ chmod -R u+w,go+r-w,a+rX-st . ## Fix man and doc paths: sed -i tools/install.py -e 's|share/man|man|' -e 's|share/doc/node|share/node/doc|' -#sed -i deps/npm/lib/{,un}build.js -e "/var manRoot/ s/'share',//" -#sed -i deps/npm/test/tap/install-man.js -e "/fs.existsSync/ s/'share',//" # Fix libdir for 64-bit. Even Gentoo thanks Ryan McQuen for # https://github.com/iojs/io.js/issues/504 -sed -i tools/install.py -e "s|lib/|lib${LIBDIRSUFFIX}/|g" +sed -i tools/install.py -e "s|lib/|lib${LIBDIRSUFFIX}/|g" +sed -i lib/module.js -e "s/'lib'/'lib${LIBDIRSUFFIX}'/" sed -i deps/npm/lib/npm.js -e "s/'lib'/'lib${LIBDIRSUFFIX}'/" # Include the correct header: @@ -193,6 +194,7 @@ export CFLAGS="$SLKCFLAGS" ./configure \ --prefix=/usr \ + --experimental-http-parser \ --shared-zlib \ 2>&1 | tee $OUTPUT/configure-${PRGNAM}.log |