From 58129f3b54b1abd0e4ab23e770478da04ea0fa62 Mon Sep 17 00:00:00 2001 From: Piotr Halama Date: Wed, 21 Feb 2024 12:50:02 +0100 Subject: [PATCH] nodejs20: add unicode support (#10127) --- net-libs/nodejs/nodejs20-20.9.0.recipe | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/net-libs/nodejs/nodejs20-20.9.0.recipe b/net-libs/nodejs/nodejs20-20.9.0.recipe index d9301487a..39022afa6 100644 --- a/net-libs/nodejs/nodejs20-20.9.0.recipe +++ b/net-libs/nodejs/nodejs20-20.9.0.recipe @@ -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