summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/gdal')
-rw-r--r--sci-libs/gdal/gdal-3.8.0.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/gdal/gdal-3.8.0.ebuild b/sci-libs/gdal/gdal-3.8.0.ebuild
index 2b6b0407a6ed..8c8c20bcd12e 100644
--- a/sci-libs/gdal/gdal-3.8.0.ebuild
+++ b/sci-libs/gdal/gdal-3.8.0.ebuild
@@ -267,8 +267,8 @@ src_install() {
# Move the native library into the proper place for Gentoo. The
# library in ${D} has already had its RPATH fixed, so we use it
# rather than ${BUILD_DIR}/swig/java/libgdalalljni.so.
- java-pkg_doso "${D}/usr/share/java/libgdalalljni.so"
- rm "${D}/usr/share/java/libgdalalljni.so" || die
+ java-pkg_doso "${D}/usr/$(get_libdir)/jni/libgdalalljni.so"
+ rm -rf "${ED}/usr/$(get_libdir)/jni" || die
fi
# TODO: install docs?