summaryrefslogtreecommitdiff
path: root/www/node18
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2024-10-07 22:58:07 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-10-07 22:58:46 +0800
commitbf4c86a9e27395fdfce99b91d8cc1a0f12c1b3ab (patch)
tree421afdb0a3b209fd5af1568b3e982e71250e5629 /www/node18
parentdevel/py-pyscaffold: Install missing template files (diff)
www/node{18,20,22}: Add JIT option
PR: 281746
Diffstat (limited to 'www/node18')
-rw-r--r--www/node18/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/node18/Makefile b/www/node18/Makefile
index 0b562778abfd..4e90886e37db 100644
--- a/www/node18/Makefile
+++ b/www/node18/Makefile
@@ -52,13 +52,16 @@ SHEBANG_FILES= deps/v8/third_party/inspector_protocol/*.py \
tools/*.py \
tools/inspector_protocol/*.py
-OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS
+OPTIONS_DEFINE= BUNDLED_SSL DOCS JIT NLS
+OPTIONS_DEFAULT=JIT
OPTIONS_SUB= yes
BUNDLED_SSL_DESC= Use bundled OpenSSL implementation from node.js
+JIT_DESC= Use Just In Time compiler
BUNDLED_SSL_CONFIGURE_OFF= --openssl-use-def-ca-store --shared-openssl
BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss
BUNDLED_SSL_USES_OFF= ssl
+JIT_CONFIGURE_OFF= --v8-lite-mode
NLS_BUILD_DEPENDS= icu>=69.1:devel/icu
NLS_CONFIGURE_ON= --with-intl=system-icu
NLS_LIB_DEPENDS= libicui18n.so:devel/icu