git: 780e85e6a182 - main - www/npm-node20: Simplify Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 09:34:15 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=780e85e6a18255097c5934d3c1e25422bd15e98e commit 780e85e6a18255097c5934d3c1e25422bd15e98e Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-10-21 06:33:43 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-10-21 09:17:28 +0000 www/npm-node20: Simplify Makefile Python 3.8 is officially EOL'd on 2024-10-07. Reference: https://devguide.python.org/versions/ --- www/npm-node20/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/www/npm-node20/Makefile b/www/npm-node20/Makefile index f74b955c8839..c79304194ef4 100644 --- a/www/npm-node20/Makefile +++ b/www/npm-node20/Makefile @@ -40,9 +40,6 @@ post-patch: do-install: cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/ ${ECHO_CMD} 'python=${PYTHON_CMD}' > ${STAGEDIR}${PREFIX}/etc/npmrc - ${PYTHON_CMD} -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp - ${PYTHON_CMD} -O -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp -# Use the following line instead of the above 2 lines after Python 3.8 expires on Oct 31, 2024. - #${PYTHON_CMD} -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp -o 0 -o 1 + ${PYTHON_CMD} -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp -o 0 -o 1 .include <bsd.port.mk>