commit:     b4ca3577e4ded65d3cc34c0a3bb56948a02efb09
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Oct 30 12:21:39 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 30 13:37:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ca3577

sci-libs/gdal: missing EPREFIX handling in java-pkg_doso

Closes: https://bugs.gentoo.org/962216
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44385
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/gdal/gdal-3.11.4-r1.ebuild | 4 ++--
 sci-libs/gdal/gdal-3.9.3-r1.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-libs/gdal/gdal-3.11.4-r1.ebuild 
b/sci-libs/gdal/gdal-3.11.4-r1.ebuild
index b60c61190885..8760a1ca590f 100644
--- a/sci-libs/gdal/gdal-3.11.4-r1.ebuild
+++ b/sci-libs/gdal/gdal-3.11.4-r1.ebuild
@@ -482,9 +482,9 @@ src_install() {
 
        if use java; then
                # Move the native library into the proper place for Gentoo.  The
-               # library in ${D} has already had its RPATH fixed, so we use it
+               # library in ${ED} has already had its RPATH fixed, so we use it
                # rather than ${BUILD_DIR}/swig/java/libgdalalljni.so.
-               java-pkg_doso "${D}/usr/$(get_libdir)/jni/libgdalalljni.so"
+               java-pkg_doso "${ED}/usr/$(get_libdir)/jni/libgdalalljni.so"
                rm -rf "${ED}/usr/$(get_libdir)/jni" || die
        fi
 

diff --git a/sci-libs/gdal/gdal-3.9.3-r1.ebuild 
b/sci-libs/gdal/gdal-3.9.3-r1.ebuild
index cf586c99eb8a..d169c8993189 100644
--- a/sci-libs/gdal/gdal-3.9.3-r1.ebuild
+++ b/sci-libs/gdal/gdal-3.9.3-r1.ebuild
@@ -280,9 +280,9 @@ src_install() {
 
        if use java; then
                # Move the native library into the proper place for Gentoo.  The
-               # library in ${D} has already had its RPATH fixed, so we use it
+               # library in ${ED} has already had its RPATH fixed, so we use it
                # rather than ${BUILD_DIR}/swig/java/libgdalalljni.so.
-               java-pkg_doso "${D}/usr/$(get_libdir)/jni/libgdalalljni.so"
+               java-pkg_doso "${ED}/usr/$(get_libdir)/jni/libgdalalljni.so"
                rm -rf "${ED}/usr/$(get_libdir)/jni" || die
        fi
 

Reply via email to