Created attachment 272512 [details] update to 3.0.9 Update devel/xmake-io from 2.9.9 to 3.0.9. Changes: - DISTVERSION 2.9.9 -> 3.0.9 (drops PORTREVISION). - GH_TUPLE bumped to the tbox submodule commit pinned by the v3.0.9 tag (d0138aad74d1dda1fffbee2f6fc0a8f869d8481c), keeping the bundled-source and external-library tbox in sync. This was the review point on 287585; the GH_TUPLE cannot simply be dropped because upstream ./configure fails without the tbox sources present, even though the binary links devel/tbox's libtbox.so. - pkg-plist regenerated for 3.0.9 (1883 entries). - files/patch-core_xmake.sh carried over and extended. Besides the lua-5.4 pkg-config name, 3.0.9's option_find_lz4() needs its cflags fallback at ${LOCALBASE}/include: pkgconf strips -I/usr/local/include from `pkg-config --cflags liblz4` as a default system dir, and the upstream fallback is the Linux-only -I/usr/include, so the build otherwise fails on a missing lz4frame.h. - USES+=localbase (same reason). Depends on the devel/tbox allocator fix from bug 296515 (committed to ports 2026-07-05); without it xmake-io 2.9.9/3.x fails at runtime with a bogus "syntax error" loading interpreter.lua. Tested with that fix in place. Tested on 15.1-RELEASE amd64 through the ports framework (make makesum / patch / build / stage / check-plist / reinstall): xmake --version reports v3.0.9, the binary links external libtbox.so / liblua-5.4.so / liblz4.so / libsv.so, and a test project (xmake create -l c; xmake; xmake run) builds and prints "hello world!".
Try to add USES+=localbase instead of patch: - cflags="-I/usr/include" + cflags="-I/usr/local/include"
> pkgconf strips -I/usr/local/include from `pkg-config --cflags liblz4` as a default system dir I don't understand what you mean. $ pkg-config --cflags liblz4 -I/usr/local/include
Created attachment 272523 [details] fixed update to 3.0.9
Youre right on both counts, thanks. Sorry for the noise in the description. Bugs came from a broken test environment where the liblz4 headers were actually missing, which I misdiagnosed as a flags problem. Apologies.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a9b245453dc8fa4da43ff96efcb2b394b2c08136 commit a9b245453dc8fa4da43ff96efcb2b394b2c08136 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-07-19 00:30:13 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-07-19 00:30:13 +0000 devel/xmake-io: Update 2.9.9 => 3.0.9 Changelog: https://github.com/xmake-io/xmake/blob/v3.0.9/CHANGELOG.md Improve port: - Switch from tarball generated by github to prepared by upstream. - Fix warnings from portclippy. - Unbundle tbox. - Refresh patches. PR: 296537 287585 Approved by: Huan Zhou <pericycle.cc@gmail.com> (maintainer, timeout 2 weeks) Sponsored by: UNIS Labs Co-authored-by: Lin <lin@sz.cn.eu.org> Co-authored-by: Huan Zhou <pericycle.cc@gmail.com> MFH: 2026Q3 devel/xmake-io/Makefile | 14 +- devel/xmake-io/distinfo | 8 +- .../files/patch-core_src_tbox_xmake.sh (new) | 11 + devel/xmake-io/files/patch-core_xmake.sh | 4 +- devel/xmake-io/pkg-plist | 769 +++++++++++---------- 5 files changed, 429 insertions(+), 377 deletions(-)
A commit in branch 2026Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=da8a21e0a6970f8ef6776bb7e5df520d3afc5b2e commit da8a21e0a6970f8ef6776bb7e5df520d3afc5b2e Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-07-19 00:30:13 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-07-19 00:37:22 +0000 devel/xmake-io: Update 2.9.9 => 3.0.9 Changelog: https://github.com/xmake-io/xmake/blob/v3.0.9/CHANGELOG.md Improve port: - Switch from tarball generated by github to prepared by upstream. - Fix warnings from portclippy. - Unbundle tbox. - Refresh patches. PR: 296537 287585 Approved by: Huan Zhou <pericycle.cc@gmail.com> (maintainer, timeout 2 weeks) Sponsored by: UNIS Labs Co-authored-by: Lin <lin@sz.cn.eu.org> Co-authored-by: Huan Zhou <pericycle.cc@gmail.com> MFH: 2026Q3 (cherry picked from commit a9b245453dc8fa4da43ff96efcb2b394b2c08136) devel/xmake-io/Makefile | 14 +- devel/xmake-io/distinfo | 8 +- .../files/patch-core_src_tbox_xmake.sh (new) | 11 + devel/xmake-io/files/patch-core_xmake.sh | 4 +- devel/xmake-io/pkg-plist | 769 +++++++++++---------- 5 files changed, 429 insertions(+), 377 deletions(-)
Thanks.