git: f0f27dd7f6ac - main - www/hedgedoc: add node-gyp to build path
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Jul 2023 09:09:18 UTC
The branch main has been updated by dch:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f0f27dd7f6ac1f4edf11e396e609009596521834
commit f0f27dd7f6ac1f4edf11e396e609009596521834
Author: Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2023-07-10 09:06:14 +0000
Commit: Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2023-07-10 09:08:27 +0000
www/hedgedoc: add node-gyp to build path
It seems to have disappeared from recent NodeJS or npm packages.
---
www/hedgedoc/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/hedgedoc/Makefile b/www/hedgedoc/Makefile
index 90e1f6b8531f..7e905fce868a 100644
--- a/www/hedgedoc/Makefile
+++ b/www/hedgedoc/Makefile
@@ -1,6 +1,6 @@
PORTNAME= hedgedoc
DISTVERSION= 1.9.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www editors
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ \
https://nodejs.org/download/release/v${NODEJS_HEADERS}/:node \
@@ -45,6 +45,7 @@ _YARN_CACHE= ${_YARN_HOME}/.cache
_YARN_CMD= ${SETENV} ${_YARN_ENV} ${_YARN_BIN} ${_YARN_FLAGS}
_YARN_CWD= ${WRKSRC}
_YARN_ENV= HOME=${_YARN_HOME} NODE_ENV=production \
+ PATH=${PATH}:/usr/local/lib/node_modules/npm/node_modules/.bin/ \
NPM_CONFIG_TARBALL=${DISTDIR}/node-v${NODEJS_HEADERS}-headers.tar.gz \
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true PYTHON=${PYTHON_CMD}
_YARN_FLAGS= --skip-integrity-check --noninteractive --no-node-version-check \