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

Closes: https://bugs.gentoo.org/962216
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44385
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2025-10-30 14:21:39 +02:00
committed by Sam James
parent 931fd6e34a
commit b4ca3577e4
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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