1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

lang/zig: update to 0.12.0

Changes:	https://ziglang.org/download/0.12.0/release-notes.html
PR:		278570
Differential Revision:	https://reviews.freebsd.org/D45024
This commit is contained in:
Pero Oršolić 2024-05-08 15:42:51 +00:00 committed by Jan Beich
parent 0991b975ed
commit 28238a95a3
8 changed files with 3832 additions and 1723 deletions

View File

@ -11,7 +11,7 @@ LICENSE= GPLv3+ OFL11
LICENSE_COMB= multi LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= zig>=0.11.0:lang/zig BUILD_DEPENDS= zig011>=0.11.0:lang/zig011
LIB_DEPENDS= libcurl.so:ftp/curl LIB_DEPENDS= libcurl.so:ftp/curl
RUN_DEPENDS= jq:textproc/jq RUN_DEPENDS= jq:textproc/jq

View File

@ -9,8 +9,8 @@ WWW= https://github.com/zigtools/zls
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= zig>=0.11.0:lang/zig BUILD_DEPENDS= zig011>=0.11.0:lang/zig011
RUN_DEPENDS= zig:lang/zig RUN_DEPENDS= zig:lang/zig011
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= zigtools GH_ACCOUNT= zigtools

View File

@ -1,12 +1,8 @@
PORTNAME= zig PORTNAME= zig
DISTVERSION= 0.11.0 DISTVERSION= 0.12.0
PORTREVISION= 1
CATEGORIES= lang CATEGORIES= lang
MASTER_SITES= https://ziglang.org/download/${DISTVERSION}/ \ MASTER_SITES= https://ziglang.org/download/${DISTVERSION}/ \
https://ziglang.org/builds/ https://ziglang.org/builds/
# fetch prebuilt platform-independent docs
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
zig-freebsd-x86_64-${DISTVERSION}${EXTRACT_SUFX}
PATCH_SITES= https://github.com/ziglang/${PORTNAME}/commit/ PATCH_SITES= https://github.com/ziglang/${PORTNAME}/commit/
@ -40,7 +36,7 @@ STATIC_RUN_DEPENDS_OFF= llvm${_LLVM_VER}>=0:devel/llvm${_LLVM_VER}
STATIC_CMAKE_BOOL= ZIG_STATIC STATIC_CMAKE_BOOL= ZIG_STATIC
STATIC_LDFLAGS= -licudata -licuuc -llzma -lm -lmd -lxml2 -lz -lzstd STATIC_LDFLAGS= -licudata -licuuc -llzma -lm -lmd -lxml2 -lz -lzstd
_LLVM_VER= 16 _LLVM_VER= 17
_ZIG_BIN= ${STAGEDIR}${PREFIX}/bin/zig _ZIG_BIN= ${STAGEDIR}${PREFIX}/bin/zig
post-configure-STATIC-on: post-configure-STATIC-on:
@ -53,8 +49,8 @@ post-install:
post-install-DOCS-on: post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/std ${MKDIR} ${STAGEDIR}${DOCSDIR}/std
.for f in langref.html std/data.js std/main.js std/index.html .for f in index.html main.js
${INSTALL_MAN} ${WRKDIR}/zig-freebsd-x86_64-${DISTVERSION}/doc/${f} \ ${INSTALL_MAN} ${WRKSRC}/lib/docs/${f} \
${STAGEDIR}${DOCSDIR}/${f} ${STAGEDIR}${DOCSDIR}/${f}
.endfor .endfor

View File

@ -1,5 +1,3 @@
TIMESTAMP = 1691983292 TIMESTAMP = 1713682430
SHA256 (zig-0.11.0.tar.xz) = 72014e700e50c0d3528cef3adf80b76b26ab27730133e8202716a187a799e951 SHA256 (zig-0.12.0.tar.xz) = a6744ef84b6716f976dad923075b2f54dc4f785f200ae6c8ea07997bd9d9bd9a
SIZE (zig-0.11.0.tar.xz) = 15275316 SIZE (zig-0.12.0.tar.xz) = 17099152
SHA256 (zig-freebsd-x86_64-0.11.0.tar.xz) = ea430327f9178377b79264a1d492868dcff056cd76d43a6fb00719203749e958
SIZE (zig-freebsd-x86_64-0.11.0.tar.xz) = 46432140

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@ WWW= https://dev.yorhel.nl/ncdu \
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSES/MIT.txt LICENSE_FILE= ${WRKSRC}/LICENSES/MIT.txt
BUILD_DEPENDS= zig>=0.11<0.11_99:lang/zig BUILD_DEPENDS= zig011>=0.11<0.11_99:lang/zig011
USES= ncurses USES= ncurses

View File

@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
wayland-protocols>0:graphics/wayland-protocols \ wayland-protocols>0:graphics/wayland-protocols \
zig>=0.11.0:lang/zig zig011>=0.11.0:lang/zig011
LIB_DEPENDS= libevdev.so:devel/libevdev \ LIB_DEPENDS= libevdev.so:devel/libevdev \
libwayland-server.so:graphics/wayland \ libwayland-server.so:graphics/wayland \
libwlroots.so:x11-toolkits/wlroots \ libwlroots.so:x11-toolkits/wlroots \

View File

@ -11,7 +11,7 @@ LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \
zig>=0.11.0:lang/zig zig011>=0.11.0:lang/zig011
LIB_DEPENDS= libwayland-client.so:graphics/wayland \ LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon libxkbcommon.so:x11/libxkbcommon
RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper