View | Details | Raw Unified | Return to bug 279604 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/zig/Makefile (+2 lines)
Lines 1-5 Link Here
1
PORTNAME=	zig
1
PORTNAME=	zig
2
DISTVERSION=	0.12.0
2
DISTVERSION=	0.12.0
3
PORTREVISION=	1
3
CATEGORIES=	lang
4
CATEGORIES=	lang
4
MASTER_SITES=	https://ziglang.org/download/${DISTVERSION}/ \
5
MASTER_SITES=	https://ziglang.org/download/${DISTVERSION}/ \
5
		https://ziglang.org/builds/
6
		https://ziglang.org/builds/
Lines 35-40 STATIC_DESC= sets ZIG_STATIC to avoid 800MiB LLVM runtime dependency Link Here
35
STATIC_RUN_DEPENDS_OFF=	llvm${_LLVM_VER}>=0:devel/llvm${_LLVM_VER}
36
STATIC_RUN_DEPENDS_OFF=	llvm${_LLVM_VER}>=0:devel/llvm${_LLVM_VER}
36
STATIC_CMAKE_BOOL=	ZIG_STATIC
37
STATIC_CMAKE_BOOL=	ZIG_STATIC
37
STATIC_LDFLAGS=		-licudata -licuuc -llzma -lm -lmd -lxml2 -lz -lzstd
38
STATIC_LDFLAGS=		-licudata -licuuc -llzma -lm -lmd -lxml2 -lz -lzstd
39
STATIC_LIB_DEPENDS+=	libxml2.so:textproc/libxml2
38
40
39
_LLVM_VER=	17
41
_LLVM_VER=	17
40
_ZIG_BIN=	${STAGEDIR}${PREFIX}/bin/zig
42
_ZIG_BIN=	${STAGEDIR}${PREFIX}/bin/zig
(-)b/lang/zig/pkg-plist (-2 / +1 lines)
Lines 5-11 Link Here
5
@dir lib/zig/std/compress/xz/testdata
5
@dir lib/zig/std/compress/xz/testdata
6
@dir lib/zig/std/tar/testdata
6
@dir lib/zig/std/tar/testdata
7
@dir lib/zig/std/tz
7
@dir lib/zig/std/tz
8
@dir %%DOCSDIR%%/std
8
%%PORTDOCS%%@dir %%DOCSDIR%%/std
9
%%PORTDOCS%%%%DOCSDIR%%/index.html
9
%%PORTDOCS%%%%DOCSDIR%%/index.html
10
%%PORTDOCS%%%%DOCSDIR%%/main.js
10
%%PORTDOCS%%%%DOCSDIR%%/main.js
11
bin/zig
11
bin/zig
12
- 

Return to bug 279604