Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2023 17:33:27 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: 8c7a6bfe97c8 - main - net-im/libsignal-node: Use nodedir to point to the node headers
Message-ID:  <202305091733.349HXRrq028664@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c7a6bfe97c8ef32a0e0057dc3bf30afe4fac3cf

commit 8c7a6bfe97c8ef32a0e0057dc3bf30afe4fac3cf
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-04-26 11:57:52 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-05-09 17:32:59 +0000

    net-im/libsignal-node: Use nodedir to point to the node headers
    
    We can drop the node distfiles as it's not used anymore.
---
 net-im/libsignal-node/Makefile | 8 ++------
 net-im/libsignal-node/distinfo | 4 +---
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/net-im/libsignal-node/Makefile b/net-im/libsignal-node/Makefile
index c46e019c47f3..5357c65971de 100644
--- a/net-im/libsignal-node/Makefile
+++ b/net-im/libsignal-node/Makefile
@@ -5,8 +5,7 @@ PORTREVISION=	2
 CATEGORIES=	net-im
 MASTER_SITES=	https://nodejs.org/download/release/v${NODE_VERSION}/:node
 PKGNAMESUFFIX=	-node
-DISTFILES=	libsignal-node-${DISTVERSION}-yarn-cache.tar.gz \
-		node-v${NODE_VERSION}-headers.tar.gz:node
+DISTFILES=	libsignal-node-${DISTVERSION}-yarn-cache.tar.gz
 
 MAINTAINER=	mikael@FreeBSD.org
 COMMENT=	Platform-agnostic APIs used by the official Signal clients and servers
@@ -294,14 +293,11 @@ post-extract:
 	${MV} ${WRKDIR}/boringssl-f1c75347daa2ea81a941e953f2263e0a4d970c8d/* ${WRKDIR}/boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl
 	${MV} ${WRKDIR}/boringssl-ae223d6138807a13006342edfeef32e813246b39/* ${WRKDIR}/boring-25e1dd8fa519ae90772008fbd4a284582096fece/boring-sys/deps/boringssl-fips
 
-	${MKDIR} ${WRKDIR}/.cache/node-gyp/${NODE_VERSION}
-	${MV} ${WRKDIR}/node-v${NODE_VERSION}/include ${WRKDIR}/.cache/node-gyp/${NODE_VERSION}
-	${ECHO_CMD} '9' > ${WRKDIR}/.cache/node-gyp/${NODE_VERSION}/installVersion
-
 	${CP} ${FILESDIR}/node/package.json ${WRKSRC}/node
 
 do-build:
 	${ECHO_CMD} 'yarn-offline-mirror "../yarn-offline-cache"' > ${WRKSRC}/.yarnrc
+	${ECHO_CMD} 'nodedir "${LOCALBASE}"' >> ${WRKSRC}/.yarnrc
 	cd ${WRKSRC}/node && \
 		${SETENV} ${MAKE_ENV} yarn install --frozen-lockfile --ignore-optional --offline
 	cd ${WRKSRC}/node && \
diff --git a/net-im/libsignal-node/distinfo b/net-im/libsignal-node/distinfo
index a72475c18b87..727fdbaf01cf 100644
--- a/net-im/libsignal-node/distinfo
+++ b/net-im/libsignal-node/distinfo
@@ -1,8 +1,6 @@
-TIMESTAMP = 1680589915
+TIMESTAMP = 1682508945
 SHA256 (libsignal-node-0.22.0-yarn-cache.tar.gz) = 110074814e397bf89f918c3138a96da7619d87f5e5edad3293835a09a8d027b8
 SIZE (libsignal-node-0.22.0-yarn-cache.tar.gz) = 22963764
-SHA256 (node-v16.20.0-headers.tar.gz) = 4ab673791303ba8284c6230a401b4e6054acfbbde05f4b4937769692cb3e80ed
-SIZE (node-v16.20.0-headers.tar.gz) = 568323
 SHA256 (rust/crates/addr2line-0.17.0.crate) = b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b
 SIZE (rust/crates/addr2line-0.17.0.crate) = 32260
 SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe



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