commit: 64fe5c9bcdd3b8ad79424c97a17060d9fda51767 Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com> AuthorDate: Thu Oct 23 15:49:55 2025 +0000 Commit: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com> CommitDate: Sun Oct 26 14:38:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64fe5c9b
sci-ml/ollama: drop unused patch Fixes: 45cc7166ba4e115c8076a42fdb275249bd8ecdd1 Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com> .../files/ollama-0.6.3-use-GNUInstallDirs.patch | 26 ---------------------- 1 file changed, 26 deletions(-) diff --git a/sci-ml/ollama/files/ollama-0.6.3-use-GNUInstallDirs.patch b/sci-ml/ollama/files/ollama-0.6.3-use-GNUInstallDirs.patch deleted file mode 100644 index 5a69109aac..0000000000 --- a/sci-ml/ollama/files/ollama-0.6.3-use-GNUInstallDirs.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 3e250053458fa33c97023ff8943e8c5daa4beeca Mon Sep 17 00:00:00 2001 -From: Paul Zander <[email protected]> -Date: Mon, 31 Mar 2025 18:07:47 +0200 -Subject: [PATCH] use GNUInstallDirs - -Signed-off-by: Paul Zander <[email protected]> - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 9e107fe..79407ea 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -35,8 +35,9 @@ if (CMAKE_OSX_ARCHITECTURES MATCHES "x86_64") - set(CMAKE_INSTALL_RPATH "@loader_path") - endif() - --set(OLLAMA_BUILD_DIR ${CMAKE_BINARY_DIR}/lib/ollama) --set(OLLAMA_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib/ollama) -+include(GNUInstallDirs) -+set(OLLAMA_BUILD_DIR ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/ollama) -+set(OLLAMA_INSTALL_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/ollama) - - set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${OLLAMA_BUILD_DIR}) - set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${OLLAMA_BUILD_DIR}) --- -2.49.0 -
