From b17c692c014c6985ffe4a113b70c8adc1a42bcb3 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Wed, 26 Mar 2025 08:37:41 +0100 Subject: [PATCH] sci-ml/caffe2: fix for prefix Bug: https://bugs.gentoo.org/948897 Signed-off-by: Alfredo Tupone --- sci-ml/caffe2/files/caffe2-2.5.1-newfix-functorch-install.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-ml/caffe2/files/caffe2-2.5.1-newfix-functorch-install.patch b/sci-ml/caffe2/files/caffe2-2.5.1-newfix-functorch-install.patch index 499a3c74c87f5..91eed46b813eb 100644 --- a/sci-ml/caffe2/files/caffe2-2.5.1-newfix-functorch-install.patch +++ b/sci-ml/caffe2/files/caffe2-2.5.1-newfix-functorch-install.patch @@ -5,4 +5,4 @@ set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS ${TORCH_PYTHON_LINK_FLAGS}) endif() -install(TARGETS ${PROJECT_NAME} DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}") -+install(TARGETS ${PROJECT_NAME} DESTINATION "/var/lib/caffe2/") ++install(TARGETS ${PROJECT_NAME} DESTINATION "$ENV{$EPREFIX}/var/lib/caffe2/")