Re: git: f57ee6874d46 - main - textproc/tree-sitter-grammars: Fix build with BUILD_AS_NON_ROOT=yes
Date: Thu, 11 Sep 2025 06:32:11 UTC
On 9/10/25 12:44, Gleb Popov wrote:
> On Wed, Sep 10, 2025 at 12:45 PM Mikael Urankar <mikael@freebsd.org> wrote:
>> +@@ -171,6 +171,7 @@ fn build_tree_sitter(name: &str, path: &Path, output:
>> + fn build_tree_sitter(name: &str, path: &Path, output: &Path) -> Result<()> {
>> + println!("-----------------------------------");
>> + println!("now building tree sitter for {name}");
>> ++ std::env::set_var("XDG_CACHE_HOME", "WRKDIR/.cache");
> This env var is already in MAKE_ENV, why this patch is required?
For whatever reasons, XDG_CACHE_HOME is not passed to the build script
and the build fails.