git: 01e8d78a23fc - main - net-im/signal-desktop: Attempt to fix build after npm update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Jul 2023 13:37:07 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=01e8d78a23fc36534850212cc79fd00cec42b73c
commit 01e8d78a23fc36534850212cc79fd00cec42b73c
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-07-14 13:36:27 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-07-14 13:36:27 +0000
net-im/signal-desktop: Attempt to fix build after npm update
Add the PATH to the node-gyp binary
---
net-im/signal-desktop/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile
index 0a2dcc589363..19dc57d15b5c 100644
--- a/net-im/signal-desktop/Makefile
+++ b/net-im/signal-desktop/Makefile
@@ -69,7 +69,8 @@ PACKAGE_ENV= SIGNAL_ENV=production
MAKE_ENV+= ELECTRON_OVERRIDE_DIST_PATH=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} \
HOME=${WRKDIR} \
USE_SYSTEM_APP_BUILDER=true \
- SOURCE_DATE_EPOCH=${_BUILD_DATE}
+ SOURCE_DATE_EPOCH=${_BUILD_DATE} \
+ PATH=${WRKSRC}/node_modules/.bin:${LOCALBASE}/bin:${PATH}
# Don't download electron binary distribution on electron node_modules installation
MAKE_ENV+= ELECTRON_SKIP_BINARY_DOWNLOAD=1