git: e4bae576a4cd - main - www/node: Use the user's default nodejs version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Oct 2023 16:00:47 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e4bae576a4cda2650e3e416fab271a82afe959a9 commit e4bae576a4cda2650e3e416fab271a82afe959a9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-10-16 15:18:17 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-10-16 15:59:42 +0000 www/node: Use the user's default nodejs version --- www/node/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/node/Makefile b/www/node/Makefile index 9a5e27f0b247..40a17ab27b0d 100644 --- a/www/node/Makefile +++ b/www/node/Makefile @@ -1,5 +1,5 @@ PORTNAME= node -PORTVERSION= 18.16.0 +PORTVERSION= ${NODEJS_PORTVERSION} CATEGORIES= www MAINTAINER= sunpoet@FreeBSD.org @@ -9,4 +9,6 @@ WWW= https://nodejs.org/ \ USES= metaport nodejs:run -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.include "${.CURDIR}/../node${NODEJS_VERSION}/Makefile.version" +.include <bsd.port.post.mk>