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-17 16:04:02 +0000
commit68f64506dc53ab9d12aaf0904240361b581a7bcd (patch)
treec9e65e3068e42088f37f147587287aec0f49ab84
parentdec034d85a73a62d7b59bf9ed702d4edf7736866 (diff)
downloadports-68f64506dc53ab9d12aaf0904240361b581a7bcd.tar.gz
ports-68f64506dc53ab9d12aaf0904240361b581a7bcd.zip
net-im/signal-desktop: Attempt to fix build after npm update
Add the PATH to the node-gyp binary (cherry picked from commit 01e8d78a23fc36534850212cc79fd00cec42b73c)
-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