commit: e1fc40d2c3fd0f33c360f9203fe2c0f3564c6724
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 26 23:55:16 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 26 23:56:13 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1fc40d2
sci-libs/netcdf: switch to non-deprecated CMake options
I'd missed this as the build system diff was buried with a lot of
whitespace noise and some "meta" bits which I'd thought was just rearranging
and maybe adding aliases for options but not necessarily deprecating the
old ones.
Thanks to negril for pointing it out.
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/netcdf/netcdf-4.9.3.ebuild | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sci-libs/netcdf/netcdf-4.9.3.ebuild
b/sci-libs/netcdf/netcdf-4.9.3.ebuild
index 2b1f38091a4a..0b728bc6c592 100644
--- a/sci-libs/netcdf/netcdf-4.9.3.ebuild
+++ b/sci-libs/netcdf/netcdf-4.9.3.ebuild
@@ -56,28 +56,28 @@ src_configure() {
-DCMAKE_POLICY_DEFAULT_CMP0153="OLD" # exec_program
-DNETCDF_ENABLE_DAP_REMOTE_TESTS=OFF
- #-DENABLE_HDF4_FILE_TESTS=OFF
- -DENABLE_LIBXML2=ON
+ #-DNETCDF_ENABLE_HDF4_FILE_TESTS=OFF
+ -DNETCDF_ENABLE_LIBXML2=ON
-DBUILD_SHARED_LIBS="yes"
-DBUILD_TESTING="$(usex test)"
- -DBUILD_UTILITIES="yes"
+ -DNETCDF_BUILD_UTILITIES="yes"
- -DENABLE_DAP="$(usex dap)"
- -DENABLE_DAP2="$(usex dap)"
- -DENABLE_DAP4="$(usex dap)"
+ -DNETCDF_ENABLE_DAP="$(usex dap)"
+ -DNETCDF_ENABLE_DAP2="$(usex dap)"
+ -DNETCDF_ENABLE_DAP4="$(usex dap)"
- -DENABLE_DOXYGEN="$(usex doc)"
- -DENABLE_EXAMPLES="$(usex examples)"
- -DENABLE_HDF4="$(usex hdf)"
- -DENABLE_NETCDF_4="$(usex hdf5)"
- -DENABLE_TESTS="$(usex test)"
+ -DNETCDF_ENABLE_DOXYGEN="$(usex doc)"
+ -DNETCDF_ENABLE_EXAMPLES="$(usex examples)"
+ -DNETCDF_ENABLE_HDF4="$(usex hdf)"
+ -DNETCDF_ENABLE_NETCDF_4="$(usex hdf5)"
+ -DNETCDF_ENABLE_TESTS="$(usex test)"
- -DENABLE_NCZARR="yes"
+ -DNETCDF_ENABLE_NCZARR="yes"
# NOTE set these via MYCMAKEARGS if need be
- # -DENABLE_NCZARR_FILTERS="yes"
- # -DENABLE_NCZARR_FILTER_TESTING="yes"
- # -DENABLE_NCZARR_ZIP="yes"
+ # -DNETCDF_ENABLE_NCZARR_FILTERS="yes"
+ # -DNETCDF_ENABLE_NCZARR_FILTER_TESTING="yes"
+ # -DNETCDF_ENABLE_NCZARR_ZIP="yes"
-DCMAKE_DISABLE_FIND_PACKAGE_Blosc="$(usex !blosc)"
-DCMAKE_DISABLE_FIND_PACKAGE_Bz2="$(usex !bzip2)"