summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-11-18 14:51:03 +0000
committerSam James <sam@gentoo.org>2023-11-18 14:51:03 +0000
commiteaba53e271124f87b161a0ad9ee2092ca58b2539 (patch)
tree5ab1595e5739be2a9baec3a3c32712f1993ec2e8 /sci-libs
parentdev-java/snappy: Stabilize 1.1.10.5 ppc64, #917560 (diff)
downloadgentoo-eaba53e271124f87b161a0ad9ee2092ca58b2539.tar.gz
gentoo-eaba53e271124f87b161a0ad9ee2092ca58b2539.tar.bz2
gentoo-eaba53e271124f87b161a0ad9ee2092ca58b2539.zip
sci-libs/gdal: fix java-pkg_doso path
Closes: https://bugs.gentoo.org/917563 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-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?