Re: git: f2a3c0ce36d1 - main - databases/datui: Link against system SQLite and lzma
- In reply to: Jimmy Olgeni : "git: f2a3c0ce36d1 - main - databases/datui: Link against system SQLite and lzma"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Oct 2026 10:01:01 UTC
On 2026-10-18 11:56, Jimmy Olgeni wrote:
> The branch main has been updated by olgeni:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=f2a3c0ce36d1549386224eed0cf4bcee8f961544
>
> commit f2a3c0ce36d1549386224eed0cf4bcee8f961544
> Author: Jimmy Olgeni <olgeni@FreeBSD.org>
> AuthorDate: 2026-10-08 14:12:05 +0000
> Commit: Jimmy Olgeni <olgeni@FreeBSD.org>
> CommitDate: 2026-10-18 09:56:41 +0000
>
> databases/datui: Link against system SQLite and lzma
>
> Upstream asks rusqlite for the `bundled` feature and xz2 for `static`,
> which compile SQLite and liblzma into the binary so that a release
> build needs no system library. Drop both and link against
> databases/sqlite3 and the liblzma in base instead.
>
> lz4 stays bundled: lz4-sys has no pkg-config path and no override, so
> it always builds its own copy.
> ---
> databases/datui/Makefile | 3 ++-
> .../datui/files/patch-crates_datui-lib_Cargo.toml | 20 ++++++++++++++++++++
> 2 files changed, 22 insertions(+), 1 deletion(-)
>
> diff --git a/databases/datui/Makefile b/databases/datui/Makefile
> index c3348e53646b..204ef46f5211 100644
> --- a/databases/datui/Makefile
> +++ b/databases/datui/Makefile
> @@ -10,7 +10,8 @@ WWW= https://derekwisong.github.io/datui
> LICENSE= MIT
> LICENSE_FILE= ${WRKSRC}/LICENSE
>
> -LIB_DEPENDS= libzstd.so:archivers/zstd
> +LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
> + libzstd.so:archivers/zstd
Hi,
Please use the sqlite helper
https://docs.freebsd.org/en/books/porters-handbook/book/#uses-sqlite
https://cgit.freebsd.org/ports/tree/Mk/Uses/sqlite.mk
Best regards,
Daniel