git: 81f87a9e41f1 - main - net-im/libsignal-node: Fix packaging on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Jul 2022 08:54:11 UTC
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=81f87a9e41f1702418d84e854c52d13aac527c94 commit 81f87a9e41f1702418d84e854c52d13aac527c94 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2022-07-01 08:09:25 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-07-01 08:54:05 +0000 net-im/libsignal-node: Fix packaging on i386 --- net-im/libsignal-node/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net-im/libsignal-node/Makefile b/net-im/libsignal-node/Makefile index 7b6b23727b70..8d8d33fd7f5d 100644 --- a/net-im/libsignal-node/Makefile +++ b/net-im/libsignal-node/Makefile @@ -255,10 +255,13 @@ MAKE_ENV= ELECTRON_OVERRIDE_DIST_PATH=${LOCALBASE}/share/electron18 \ PYTHON=${PYTHON_CMD} \ XDG_CACHE_HOME=${WRKDIR}/.cache -USE_LDCONFIG= yes +USE_LDCONFIG= yes PLIST_FILES= lib/libsignal_node.so +NODE_ARCH= ${ARCH:S/amd64/x64/:S/i386/ia32/:C/powerpc64.*/ppc64/} +RUST_ARCH= ${ARCH:S/amd64/x86_64/:S/i386/i686/} + .include <bsd.port.options.mk> .if ${ARCH:Mpowerpc64*} @@ -277,7 +280,7 @@ do-build: ${SETENV} ${MAKE_ENV} yarn tsc do-install: - ${INSTALL_DATA} ${WRKSRC}/node/build/Release/obj.target/libsignal_client_freebsd_${ARCH:S/amd64/x64/:C/powerpc64.*/ppc64/}.node/geni/rust/${ARCH:S/amd64/x86_64/}-unknown-freebsd/release/libsignal_node.so \ + ${INSTALL_DATA} ${WRKSRC}/node/build/Release/obj.target/libsignal_client_freebsd_${NODE_ARCH}.node/geni/rust/${RUST_ARCH}-unknown-freebsd/release/libsignal_node.so \ ${STAGEDIR}${PREFIX}/lib/ create-caches-tarball: