Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2023 13:37:07 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 01e8d78a23fc - main - net-im/signal-desktop: Attempt to fix build after npm update
Message-ID:  <202307141337.36EDb7Mr012407@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307141337.36EDb7Mr012407>