commit:     137308d6180b7661b64920788119a23cf33b7a8e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 27 13:47:45 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 27 14:37:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137308d6

sci-libs/netcdf: Bump the subslot to 22, to match SOVERSION in 4.9.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sci-libs/netcdf/{netcdf-4.9.3.ebuild => netcdf-4.9.3-r1.ebuild} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-libs/netcdf/netcdf-4.9.3.ebuild 
b/sci-libs/netcdf/netcdf-4.9.3-r1.ebuild
similarity index 96%
rename from sci-libs/netcdf/netcdf-4.9.3.ebuild
rename to sci-libs/netcdf/netcdf-4.9.3-r1.ebuild
index 0b728bc6c592..2e76d2646972 100644
--- a/sci-libs/netcdf/netcdf-4.9.3.ebuild
+++ b/sci-libs/netcdf/netcdf-4.9.3-r1.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/${PN}-c-${PV}
 
 LICENSE="UCAR-Unidata"
 # SONAME of libnetcdf.so
-SLOT="0/19"
+SLOT="0/22"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="blosc bzip2 +dap doc examples hdf +hdf5 mpi szip test zstd"
 RESTRICT="!test? ( test )"
@@ -100,5 +100,6 @@ src_install() {
        cmake_src_install
 
        # bug #827188
-       sed -i -re "s:${EPREFIX}/usr/$(get_libdir)/lib(dl|m).(so|a);:\1;:g" 
"${ED}/usr/$(get_libdir)/cmake/netCDF/netCDFTargets.cmake" || die
+       sed -i -re "s:${EPREFIX}/usr/$(get_libdir)/lib(dl|m).(so|a);:\1;:g" \
+               "${ED}/usr/$(get_libdir)/cmake/netCDF/netCDFTargets.cmake" || 
die
 }

Reply via email to