aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2023-07-14 13:36:27 +0000
committerMikael Urankar <mikael@FreeBSD.org>2023-07-14 13:36:27 +0000
commit01e8d78a23fc36534850212cc79fd00cec42b73c (patch)
tree4a0c7a3d4f70ce17d9105ebaa31ae20eba1c2bc4
parent08f0eef4e4adfffac891a4f71c12450f4679895c (diff)
downloadports-01e8d78a23fc36534850212cc79fd00cec42b73c.tar.gz
ports-01e8d78a23fc36534850212cc79fd00cec42b73c.zip
net-im/signal-desktop: Attempt to fix build after npm update
Add the PATH to the node-gyp binary
-rw-r--r--net-im/signal-desktop/Makefile3
1 files changed, 2 insertions, 1 deletions
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