diff options
Diffstat (limited to 'editors/vscode/Makefile')
-rw-r--r-- | editors/vscode/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile index ad4015344afb..a10314c1ceea 100644 --- a/editors/vscode/Makefile +++ b/editors/vscode/Makefile @@ -1,5 +1,5 @@ PORTNAME= vscode -DISTVERSION= 1.103.2 +DISTVERSION= 1.104.2 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:node_modules @@ -30,7 +30,6 @@ LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libopus.so:audio/opus \ libsndio.so:audio/sndio \ libdbus-1.so:devel/dbus \ - libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ @@ -69,7 +68,7 @@ USES= desktop-file-utils gl gmake gnome gssapi:mit iconv:wchar_t \ USE_GITHUB= yes GH_ACCOUNT= microsoft -SOURCE_COMMIT_HASH= 6f17636121051a53c88d3e605c491d22af2ba755 +SOURCE_COMMIT_HASH= e3a5acfb517a443235981655413d566533107e92 BINARY_ALIAS= python=${PYTHON_CMD} @@ -287,15 +286,21 @@ build-remote-extension-host: configure pre-build # cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm run gulp vscode-reh-web-linux-${ELECTRON_ARCH}-min ### targets for port maintainer(s) -make-node-modules-archive: extract +patch-package-json: extract +# add node module for signature verification of extensions from Open VSX Registry + @${PATCH} -s -p0 -d ${WRKSRC} < ${FILESDIR}/patch-package.json + +make-node-modules-archive: extract patch-package-json @${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}" @cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} npm install --ignore-scripts --no-progress --no-audit --no-fund && \ + ${SETENV} ${MAKE_ENV} npm install \ + --ignore-scripts --no-progress --no-audit --no-fund --no-update-notifier && \ ${TAR} -czf ${WRKDIR}/vscode-.-node-modules${EXTRACT_SUFX} node_modules @for dir in `node -p "JSON.stringify(require('${WRKSRC}/build/npm/dirs').dirs)" | jq -r '.[]'`; do \ cd ${WRKSRC}/$${dir} && \ ${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}/$${dir}" && \ - ${SETENV} ${MAKE_ENV} npm install --ignore-scripts --no-progress --no-audit --no-fund && \ + ${SETENV} ${MAKE_ENV} npm install \ + --ignore-scripts --no-progress --no-audit --no-fund --no-update-notifier && \ if [ -d node_modules ]; then \ ${TAR} -czf ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} node_modules; \ fi; \ |