FreeBSD Bugzilla – Attachment 236289 Details for
Bug 266159
www/npm: fails to run commands after upgrade to 8.18.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch v1
npm.diff (text/plain), 853 bytes, created by
Guido Falsi
on 2022-09-01 15:37:06 UTC
(
hide
)
Description:
patch v1
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2022-09-01 15:37:06 UTC
Size:
853 bytes
patch
obsolete
>diff --git a/www/npm/Makefile b/www/npm/Makefile >index 4c1093ab603e..2a7b00ecffa1 100644 >--- a/www/npm/Makefile >+++ b/www/npm/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= npm > PORTVERSION= 8.18.0 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= LOCAL/sunpoet > >@@ -28,6 +29,7 @@ post-patch: > @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/etc/man.d/npm.conf > @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp > @${REINPLACE_CMD} -e 's|exec python |exec ${PYTHON_CMD} |' ${WRKSRC}/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp >+ @${REINPLACE_CMD} -e "s|'-c', '--', script|'-c', script|" ${WRKSRC}/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/make-spawn-args.js > @${FIND} ${WRKSRC}/ -name '*.sh' -exec ${REINPLACE_CMD} -e '1 s|/usr/local|${LOCALBASE}|' {} + > > do-install:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266159
: 236289