nodejs20: add unicode support (#10127)

This commit is contained in:
Piotr Halama
2024-02-21 12:50:02 +01:00
committed by GitHub
parent 1d9983d844
commit 58129f3b54

View File

@@ -7,7 +7,7 @@ to be done, Node will sleep."
HOMEPAGE="https://nodejs.org/"
COPYRIGHT="2006-2019 The Node.js Foundation"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/nodejs/node/archive/v$portVersion/nodejs-$portVersion.tar.gz"
SOURCE_DIR="node-$portVersion"
CHECKSUM_SHA256="97fa9283e5472d4252794c930ad59270e4851cc523fe5469f37f65a344f5f2e2"
@@ -26,6 +26,9 @@ REQUIRES="
lib:libcares$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libexecinfo$secondaryArchSuffix
lib:libicudata$secondaryArchSuffix
lib:libicui18n$secondaryArchSuffix
lib:libicuuc$secondaryArchSuffix
lib:libnghttp2$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libuv$secondaryArchSuffix
@@ -43,6 +46,9 @@ BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcares$secondaryArchSuffix
devel:libexecinfo$secondaryArchSuffix
devel:libicudata$secondaryArchSuffix >= 74
devel:libicui18n$secondaryArchSuffix >= 74
devel:libicuuc$secondaryArchSuffix >= 74
devel:libnghttp2$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libuv$secondaryArchSuffix
@@ -54,13 +60,14 @@ BUILD_PREREQUIRES="
cmd:ld$secondaryArchSuffix
cmd:make
cmd:ninja
cmd:pkg_config$secondaryArchSuffix
cmd:python3
cmd:which
"
BUILD()
{
./configure --with-intl=none --dest-os=haiku \
./configure --with-intl=system-icu --dest-os=haiku \
--shared-cares --shared-libuv --shared-nghttp2 --shared-openssl \
--shared-zlib \
--prefix=$prefix --without-npm