[Midnightbsd-cvs] [MidnightBSD/mports] 27edec: misc/ollama: update to 0.20.2, fix BSD build issues

Lucas Holt noreply at github.com
Sun Apr 19 19:28:58 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 27edecff5f18872dcf35c5bbcc566a20773faec0
      https://github.com/MidnightBSD/mports/commit/27edecff5f18872dcf35c5bbcc566a20773faec0
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M misc/ollama/Makefile
    M misc/ollama/distinfo
    A misc/ollama/files/freebsd-compatibility.patch
    A misc/ollama/files/freebsd_memory.h
    A misc/ollama/files/ollama.in
    A misc/ollama/files/patch-CMakeLists.txt
    R misc/ollama/files/patch-FreeBSD-compatibility
    R misc/ollama/files/patch-llm_generate_gen__common.sh
    R misc/ollama/files/patch-llm_llama.cpp_ggml_src_ggml.c
    R misc/ollama/files/patch-llm_llama.cpp_ggml_src_vulkan-shaders_CMakeLists.txt
    A misc/ollama/files/patch-ml_backend_ggml_ggml_src_ggml-backend-reg.cpp
    A misc/ollama/files/patch-ml_path.go
    A misc/ollama/files/patch-x_imagegen_memory.go
    A misc/ollama/files/patch-x_imagegen_mlx_CMakeLists.txt
    A misc/ollama/files/patch-x_imagegen_mlx_mlx.go
    A misc/ollama/files/patch-x_imagegen_models_zimage_vae.go
    A misc/ollama/files/patch-x_imagegen_server.go
    A misc/ollama/files/patch-x_mlxrunner_mlx_dynamic.go
    M misc/ollama/pkg-descr
    M misc/ollama/pkg-message

  Log Message:
  -----------
  misc/ollama: update to 0.20.2, fix BSD build issues

- Update port to 0.20.2 with new Go-based build system and MLX backend
- Add patch-CMakeLists.txt: remove RUNTIME_DEPENDENCIES from install()
  calls (unsupported on MidnightBSD); affects CPU, Vulkan, and MLX targets
- Replace monolithic FreeBSD patch with targeted per-file patches
- Add freebsd_memory.h and freebsd-compatibility.patch for MLX backend
- Add ollama.in rc script
- Drop stale llama.cpp patches superseded by upstream changes

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list