commit:     c7e2d5d7fbb1b1220a46d73c09f57f6d0a897eec
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 22:36:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 19 22:36:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e2d5d7

sci-libs/gdal: disable C# bindings

There's no need for these AFAIK and leaving it as it is would be wrong anyway
(as it automagically tries to use at least .NET SDK bits to download from 
internet.
Not tested with mono though.)

Closes: https://bugs.gentoo.org/845369
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/gdal/gdal-3.5.0-r4.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-libs/gdal/gdal-3.5.0-r4.ebuild 
b/sci-libs/gdal/gdal-3.5.0-r4.ebuild
index b526f8c5bfe6..7c586d305683 100644
--- a/sci-libs/gdal/gdal-3.5.0-r4.ebuild
+++ b/sci-libs/gdal/gdal-3.5.0-r4.ebuild
@@ -193,6 +193,8 @@ src_configure() {
                # Bindings
                -DBUILD_PYTHON_BINDINGS=$(usex python)
                -DBUILD_JAVA_BINDINGS=$(usex java)
+               # bug #845369
+               -DBUILD_CSHARP_BINDINGS=OFF
 
                # Check work/gdal-3.5.0_build/CMakeCache.txt after configure
                # and 
https://github.com/OSGeo/gdal/blob/master/cmake/helpers/CheckCompilerMachineOption.cmake#L71

Reply via email to