From 456fcb6bc4b777c48b5092d2d6df36ac83984b74 Mon Sep 17 00:00:00 2001 From: Dave Allured Date: Fri, 22 Sep 2023 23:41:39 -0600 Subject: [PATCH] hdf5: Fix build with CLT 15.0 . Closes: https://trac.macports.org/ticket/68194 * Remove `-commons` from configure, not supported in Sonoma/CLT 15.0. * `-commons` no longer needed for HDF5 series 10.0 and later. Was fixed upstream: https://github.com/HDFGroup/hdf5/pull/3581 --- science/hdf5/Portfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/science/hdf5/Portfile b/science/hdf5/Portfile index 7fd7fd2923ad9..7646baddf3bf1 100644 --- a/science/hdf5/Portfile +++ b/science/hdf5/Portfile @@ -40,7 +40,8 @@ use_bzip2 yes depends_lib port:zlib port:libaec use_parallel_build yes -patchfiles patch-tools-src-misc-h5cc.in.diff +patchfiles patch-no-commons.diff \ + patch-tools-src-misc-h5cc.in.diff # llvm-gcc-4.2 produced code fails type conversion tests # Upstream suggestion is use -O0. Clang-produced code passes all tests.