git: 68f64506dc53 - 2023Q3 - net-im/signal-desktop: Attempt to fix build after npm update

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Mon, 17 Jul 2023 16:04:48 UTC
The branch 2023Q3 has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68f64506dc53ab9d12aaf0904240361b581a7bcd

commit 68f64506dc53ab9d12aaf0904240361b581a7bcd
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-07-14 13:36:27 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-07-17 16:04:02 +0000

    net-im/signal-desktop: Attempt to fix build after npm update
    
    Add the PATH to the node-gyp binary
    
    (cherry picked from commit 01e8d78a23fc36534850212cc79fd00cec42b73c)
---
 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