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 |