lang/zig 0.16.0 MidnightBSD
Language designed for robustness, optimality, and maintainability
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
7f33ab59d5- License
- mit
- Categories
- lang
Description
Zig is a general purpose programming language designed for robustness, optimality, and maintainability.
In the other systems
The newest version among them is 0.17.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | lang/zig | 0.16.0 behind since 2026-10-11 | no data | - | [email protected] | 2026-11-05 |
| FreeBSD | lang/zig | 0.17.0 newest | none known | - | [email protected] | 2026-11-14 |
| OpenBSD | lang/zig | 0.16.0 behind since 2026-10-11 | no data | - | Brandon Mercer <[email protected]> | - |
| NetBSD | lang/zig | 0.16.0 behind since 2026-10-11 | none known | - | [email protected] | 2026-11-11 |
| DragonFly | lang/zig | 0.16.0 behind since 2026-10-11 | none known | - | [email protected] | - |
| HardenedBSD | lang/zig | 0.16.0 behind since 2026-10-11 | no data | - | [email protected] | - |
| GhostBSD | lang/zig | 0.16.0 behind since 2026-10-11 | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install zig
From mports:
cd /usr/mports/lang/zig && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= zig>0:lang/zig
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Library 1
libzstd.so: archivers/zstd
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
Options name: lang_zig
| Option | Default | Description |
|---|---|---|
| DOCS | on | |
| STATIC | off | sets ZIG_STATIC to avoid 800MiB LLVM runtime dependency |
- USES
- cmake compiler:c++11-lang localbase:ldflags tar:xz
- Service scripts
- none
- Conflicts with
- zig0*
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| zig-0.16.0.tar.xz | 2.250326e+07 | 43186959edc87d5c7a1be7b7d2a25efffd22ce5807c7af99067f86f99641bfdf |
Master sites 2
- https://ziglang.org/download/0.16.0/
- https://ziglang.org/builds/