diff --git a/devel/wasi-libc/Makefile b/devel/wasi-libc/Makefile index b18da6717f9c..0d57c8e345c9 100644 --- a/devel/wasi-libc/Makefile +++ b/devel/wasi-libc/Makefile @@ -1,53 +1,54 @@ PORTNAME= wasi-libc DISTVERSIONPREFIX= wasi-sdk- -DISTVERSION= 24-13 -DISTVERSIONSUFFIX= -gc47daaf +DISTVERSION= 25 CATEGORIES= devel PKGNAMESUFFIX= ${FLAVOR} MAINTAINER= vishwin@FreeBSD.org COMMENT= C standard library for WebAssembly System Interface WWW= https://github.com/WebAssembly/wasi-libc LICENSE= APACHE20 MIT LLVM2 LICENSE_COMB= multi LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT LICENSE_FILE_LLVM2= ${WRKSRC}/LICENSE-APACHE-LLVM LICENSE_NAME_LLVM2= Apache License 2.0 with LLVM Exceptions LICENSE_PERMS_LLVM2= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +BUILD_DEPENDS= bash:shells/bash + FLAVORS= 18 19 17 FLAVOR?= ${FLAVORS:[1]} USES= gmake llvm:${FLAVOR} USE_GITHUB= yes GH_ACCOUNT= WebAssembly GH_TUPLE= WebAssembly:WASI:59cbe14:wasi/tools/wasi-headers/WASI NO_ARCH= yes PLIST= ${PKGDIR}/pkg-plist${LLVM_VERSION} CONFLICTS_INSTALL= wasi-libc[0-9]* ALL_TARGET= finish # NOTE: matches the https://github.com/WebAssembly/wasi-sdk WASI_SYSROOT= ${PREFIX}/share/wasi-sysroot MAKE_ENV= INSTALL_DIR=${STAGEDIR}${WASI_SYSROOT} \ EXTRA_CFLAGS="-O2 -DNDEBUG -isystem ${FILESDIR}" \ AR=${LOCALBASE}/bin/llvm-ar${LLVM_VERSION} \ NM=${LOCALBASE}/bin/llvm-nm${LLVM_VERSION} \ post-patch: # NOTE: phony targets cause make install to rebuild everything # https://github.com/WebAssembly/wasi-libc/issues/156 ${REINPLACE_CMD} -e 's|install: finish|install:|' ${WRKSRC}/Makefile post-install: # NOTE: our llvm ports don't ship stdarg/stddef clang headers, so # they are copied from clang/lib/Headers into FILESDIR and we install # them to the sysroot ${INSTALL_DATA} ${FILESDIR}/llvm${LLVM_VERSION}/*stdarg*.h ${STAGEDIR}${WASI_SYSROOT}/include/ ${INSTALL_DATA} ${FILESDIR}/llvm${LLVM_VERSION}/*stddef*.h ${STAGEDIR}${WASI_SYSROOT}/include/ .include diff --git a/devel/wasi-libc/distinfo b/devel/wasi-libc/distinfo index ac1e82d96b99..e9ab545db4dc 100644 --- a/devel/wasi-libc/distinfo +++ b/devel/wasi-libc/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1732667648 -SHA256 (WebAssembly-wasi-libc-wasi-sdk-24-13-gc47daaf_GH0.tar.gz) = 52901413c8661c07627d3489e17fe7f70ab890750d7bd6ec11660472a112e2da -SIZE (WebAssembly-wasi-libc-wasi-sdk-24-13-gc47daaf_GH0.tar.gz) = 1433925 +TIMESTAMP = 1736822564 +SHA256 (WebAssembly-wasi-libc-wasi-sdk-25_GH0.tar.gz) = 42e6eb03fd097f8a0f76c0db3c6364b71c97bc11aedc3cd73266fad587a1ea11 +SIZE (WebAssembly-wasi-libc-wasi-sdk-25_GH0.tar.gz) = 1438581 SHA256 (WebAssembly-WASI-59cbe14_GH0.tar.gz) = 4e36c4add2421b44ccdded83d442d9aadf02ffa8b534d94016fad2bb7b781cc6 SIZE (WebAssembly-WASI-59cbe14_GH0.tar.gz) = 162059