This adds latest development version of zig-lang - upcoming 0.12.
Makefile was based on lang/zig Makefile and simplified.
I am using it for the fast few months for my projects.
Details
Details
Diff Detail
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
lang/zig-dev/Makefile | ||
---|---|---|
2 ↗ | (On Diff #124800) | so the PKGNAMESUFFIX would be better to be -devel |
4 ↗ | (On Diff #124800) | No need to set PORTREVISION when it's 0. |
lang/zig-dev/files/patch-CMakeLists.txt | ||
7 ↗ | (On Diff #124800) | I suggest using CMake variable or post-patch script to avoid updating this in the future. |
Comment Actions
its not easy to add a "diff of diffs" in phabricator, so here's : https://reviews.freebsd.org/D43416
which merges in lang/zig which has changed a bit, into your changes.
- add libxml2 as build time dependency, it seems its necessary on 15.0-CURRENT at least
- switch to static build by default to keep dependencies down
- you used llvm17-lite flavour here I switched it back to llvm17 "the giant hog compiler"
For a ports build (to me) it makes more sense to use the default llvm17, as its more likely already
to be either built (in poudriere), or pulled in as a dependency (of other ports/pkgs). What do
you think?
If you're happy with changes I can commit it, or if you want to make other changes then let's
follow up here, rather than on my separate review.