From 7972b37c90ab42ff13c8165d304e4303bcc4a556 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 31 Jul 2025 21:45:25 +0300 Subject: [PATCH] sci-libs/gdal: set PATH for python bindings compile stage as well gdal wants to run gdal-config from PATH Closes: https://bugs.gentoo.org/960906 Signed-off-by: Alfred Wingate Part-of: https://github.com/gentoo/gentoo/pull/43271 Signed-off-by: Sam James --- sci-libs/gdal/gdal-3.11.3.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sci-libs/gdal/gdal-3.11.3.ebuild b/sci-libs/gdal/gdal-3.11.3.ebuild index 308a455df7f28..d70386a46c584 100644 --- a/sci-libs/gdal/gdal-3.11.3.ebuild +++ b/sci-libs/gdal/gdal-3.11.3.ebuild @@ -360,6 +360,8 @@ python_compile() { src_compile() { cmake_src_compile + local -x PATH="${BUILD_DIR}/apps:${PATH}" + local -x LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" use python && distutils-r1_src_compile }