git: 7e473a73328c - main - devel/rubygem-execjs: Use node16 as default version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Oct 2021 21:00:21 UTC
The branch main has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7e473a73328cb6f401d059f9ebb2bf355a5bc17e
commit 7e473a73328cb6f401d059f9ebb2bf355a5bc17e
Author: Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2021-10-27 20:59:23 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2021-10-27 21:00:17 +0000
devel/rubygem-execjs: Use node16 as default version
Ports like www/gitlab-ce will not work with node17.
---
devel/rubygem-execjs/Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/devel/rubygem-execjs/Makefile b/devel/rubygem-execjs/Makefile
index aa487aa956a2..b34b1879f508 100644
--- a/devel/rubygem-execjs/Makefile
+++ b/devel/rubygem-execjs/Makefile
@@ -2,6 +2,7 @@
PORTNAME= execjs
PORTVERSION= 2.8.1
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -17,13 +18,15 @@ USE_RUBY= yes
NO_ARCH= yes
OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= NODE NODE14
-OPTIONS_DEFAULT=NODE
+OPTIONS_SINGLE_BACKEND= NODE NODE14 NODE16
+OPTIONS_DEFAULT=NODE16
NODE_DESC= Use www/node as backend
NODE14_DESC= Use www/node14 as backend
+NODE16_DESC= Use www/node16 as backend
NODE_RUN_DEPENDS= node>=0:www/node
NODE14_RUN_DEPENDS= node14>=0:www/node14
+NODE16_RUN_DEPENDS= node16>=0:www/node16
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/lib/execjs/runtimes.rb