git: a297d3477dca - main - devel/libwasmtime: mark build failed on i386 (+)

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Fri, 11 Aug 2023 20:58:10 UTC
The branch main has been updated by osa:

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

commit a297d3477dca8f76ef3461b6b0c760d05be3cddd
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2023-08-11 20:53:43 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2023-08-11 20:58:05 +0000

    devel/libwasmtime: mark build failed on i386 (+)
    
    <Error>
    
    error[E0432]: unresolved import `wasmtime_asm_macros::asm_sym`
       --> crates/fiber/src/unix/x86.rs:13:37
       |
    13 | use wasmtime_asm_macros::{asm_func, asm_sym};
       |                                     ^^^^^^^ no `asm_sym` in the root
    
    For more information about this error, try `rustc --explain E0432`.
    error: could not compile `wasmtime-fiber` (lib) due to previous error
    
    </Error>
    
    Add cpe staff.
    
    Bump PORTREVISION.
---
 devel/libwasmtime/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/devel/libwasmtime/Makefile b/devel/libwasmtime/Makefile
index 42b1f67e7892..d7c636a2ee7a 100644
--- a/devel/libwasmtime/Makefile
+++ b/devel/libwasmtime/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	lib${GH_PROJECT}
 PORTVERSION=	11.0.1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	osa@FreeBSD.org
@@ -10,7 +11,11 @@ WWW=		https://wasmtime.dev/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	cargo
+NOT_FOR_ARCHS=	i386
+NOT_FOR_ARCHS_REASON=	build currently failing
+
+USES=		cargo cpe
+CPE_VENDOR=	bytecodealliance
 
 USE_LDCONFIG=	yes