git: 5bb6276f80d9 - main - devel/libwasmtime: specify a package name for the build (+)

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Tue, 21 Nov 2023 21:12:09 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5bb6276f80d98f701d15b17f9a92a14a6a230fdd

commit 5bb6276f80d98f701d15b17f9a92a14a6a230fdd
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2023-11-21 21:03:54 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2023-11-21 21:12:03 +0000

    devel/libwasmtime: specify a package name for the build (+)
    
    ... and use it for the build instead of a manifest to be more
    resilient with future changes, as it was suggested by wasmtime
    team.
    
    No functional changes.
---
 devel/libwasmtime/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/libwasmtime/Makefile b/devel/libwasmtime/Makefile
index 6e24864f6c7d..1fadd1b94a00 100644
--- a/devel/libwasmtime/Makefile
+++ b/devel/libwasmtime/Makefile
@@ -22,7 +22,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	bytecodealliance
 GH_PROJECT=	wasmtime
 
-CARGO_CARGOTOML=	${WRKSRC}/crates/c-api/artifact/Cargo.toml
+CARGO_BUILD_ARGS=	-p wasmtime-c-api
 
 CARGO_CRATES=	addr2line-0.21.0 \
 		adler-1.0.2 \