Modern versions of gdal will not build with the version of librasterlite2 found in ports as it lacks the rl2_load_raw_tiles_into_dbms function. see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260840 for that description. 1.1.0 has the required functions for gdal to build with LIBRASTER support.
Created attachment 230889 [details] librasterlite2 1.1.0 Can you try this patch for librasterlite2? Poudriere 13amd64 ok for me (graphics/librasterlite2 and graphics/gdal with RASTERLITE option)
(In reply to Loïc Bartoletti from comment #1) This patch looks to work for me
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ca935938eaf5745da6590a378ab1d46fe3b267b5 commit ca935938eaf5745da6590a378ab1d46fe3b267b5 Author: Loïc Bartoletti <lbartoletti@FreeBSD.org> AuthorDate: 2022-01-10 19:42:46 +0000 Commit: Loïc Bartoletti <lbartoletti@FreeBSD.org> CommitDate: 2022-01-11 05:11:01 +0000 databases/librasterlite2: Update to 1.1.0-beta1 Enable to build graphics/gdal 3.3.3 PR: 261008, 260840 Reported by: jau@iki.fi, darcy@dbitech.ca graphics/librasterlite2/Makefile | 21 +++++++++------------ graphics/librasterlite2/distinfo | 5 +++-- .../patch-headers_rasterlite2__private.h (new) | 11 +++++++++++ graphics/librasterlite2/pkg-plist | 2 ++ 4 files changed, 25 insertions(+), 14 deletions(-)
Committed, thanks!