commit:     72585171afcaad1790533831ce4c8690bcd91e96
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 01:28:18 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 17 01:28:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72585171

sci-libs/gdal: fix include directory

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

 sci-libs/gdal/{gdal-3.5.0.ebuild => gdal-3.5.0-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-libs/gdal/gdal-3.5.0.ebuild 
b/sci-libs/gdal/gdal-3.5.0-r1.ebuild
similarity index 99%
rename from sci-libs/gdal/gdal-3.5.0.ebuild
rename to sci-libs/gdal/gdal-3.5.0-r1.ebuild
index fa5448c24673..b7c50dee839e 100644
--- a/sci-libs/gdal/gdal-3.5.0.ebuild
+++ b/sci-libs/gdal/gdal-3.5.0-r1.ebuild
@@ -101,6 +101,9 @@ src_configure() {
                -DGDAL_USE_EXTERNAL_LIBS=ON
                -DGDAL_USE_INTERNAL_LIBS=OFF
 
+               # bug #844874
+               -DCMAKE_INSTALL_INCLUDEDIR="/usr/include/gdal"
+
                # Options here are generally off because of one of:
                # - Not yet packaged dependencies
                #

Reply via email to