===> The following configuration options are available for zig-0.16.0:
DOCS=on: Build and/or install documentation
STATIC=off: sets ZIG_STATIC to avoid 800MiB LLVM runtime dependency
===> Use 'make config' to modify these settings
lang/zig: drop unused dependency on archivers/lzma
Warning: you might not need LIB_DEPENDS on liblzma.so
actual-package-depends: dependency on /usr/lib/liblzma.so not registered (normal
if it belongs to base)
Differential Revision: https://reviews.freebsd.org/D45024
lang/zig-devel: NEW PORT - latest version of zig language
Adds latest development version of zig-lang - upcoming 0.12.
- based off https://reviews.freebsd.org/D41067
- with further changes from lang/zig which has evolved
- update MAINTAINER per email approval for lang/zig*
Test Plan: Tested on 14.0-RELEASE and 15.0-CURRENT.
Differential Revision: https://reviews.freebsd.org/D43416
Differential Revision: https://reviews.freebsd.org/D41067
Obtained from: Pero Orsolic <bsd@orsolic.org>
lang/zig: pet port after 0.11.0 update
- fix optional DOCS build for PR270007
- fix pkg-plist sorting
- clean up work dirs to help docs build
- remove stale cmake flags
PR: 270007
lang/zig: unbreak fetch due distfile refresh after 8c1e3e605452
fetch: https://ziglang.org/download/0.11.0/zig-0.11.0.tar.xz: size mismatch:
expected 65092512, actual 15275316
$ tar tvf zig-0.11.0.tar.xz
[...]
-drwxr-xr-x 0 ci ci 0 3 Aug 19:21 zig-0.11.0/
+drwxr-xr-x 0 ci ci 0 14 Aug 21:57 zig-0.11.0/
[...]
-drwxr-xr-x 0 ci ci 0 3 Aug 19:21 zig-0.11.0/zig-cache/
-drwxr-xr-x 0 ci ci 0 3 Aug 19:21 zig-0.11.0/zig-cache/h/
--rw-r--r-- 0 ci ci 1637 3 Aug 19:21
zig-0.11.0/zig-cache/h/00889a5c28974786c8a0c50f32a3b330.txt
--rw-r--r-- 0 ci ci 1643 3 Aug 19:21
zig-0.11.0/zig-cache/h/0191ddcdc8f7323e7ca29bde7a0ce808.txt
--rw-r--r-- 0 ci ci 1649 3 Aug 19:21
zig-0.11.0/zig-cache/h/02293e34764cd700f7fa1bad9f99905d.txt
--rw-r--r-- 0 ci ci 1486 3 Aug 19:21
zig-0.11.0/zig-cache/h/037b3303e65027dcd4d04821163b69fb.txt
--rw-r--r-- 0 ci ci 1335 3 Aug 19:21
zig-0.11.0/zig-cache/h/0477d12ba45a9f7192f1c7e081ea54c6.txt
[...]
PR: 273124 (expect pkg-fallout@ spam)
Reported by: olgeni (via private mail)
See also: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/54824
lang/zig: build for lowest common denominator CPU
Systems that don't have AVX2 or newer CPU instructions will SIGILL. This
seems particularly cruel for a language with the moniker "Gotta Go Fast".
PR: 269206
Differential Revision: https://reviews.freebsd.org/D38284
Reported by: Yonas Yanfa
Tested by: Oleh Vinichenko
lang/zig, lang/zig-devel: fix for CMake 3.24
Add the THREADS_PREFER_PTHREAD_FLAG explicitly for zig builds;
these are the only two ports that need that, otherwise it would
be a candidate for adding to our platform CMake flags.
Without the flag, CMake 3.24 changes how pthreads are searched,
and it ends up leaving out the -pthread flag from the compile.
For zig, this causes the bootstrap compiler to crash immediately
(it does not even reach main), which kills the build. Prior to
CMake 3.24, this flag already existed, but the order in which
pthreads were searched was different, and we ended up using the
-pthread flag anyway.
The PR is for the CMake update. This was the last blocker for it.
PR: 265652
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
lang/zig: update to 0.9.1
Switch to pre-built docs, as this more than halves the build time and
also enables BUILD_AS_NON_ROOT with poudriere.
PR: 261396
Reported by: kib
Sponsored by: SkunkWerks, GmbH
lang/zig: fix plist
Testport complains of orphans, so add these two @dir entries;
the directories are empty and I don't actually see where they
are created.
Bumping PORTREVISION because the package changes (directories).
While here, sort pkg-plist a little.