Skip to content

Commit

Permalink
hdf5: Fix build with Xcode/CLT 15.0
Browse files Browse the repository at this point in the history
* Remove -commons from configure, not supported in Xcode/CLT 15.0.
* -commons no longer needed for HDF5 series 10.0 and later.

Closes: https://trac.macports.org/ticket/68194
Upstream PR: HDFGroup/hdf5#3581
  • Loading branch information
Dave-Allured authored Sep 24, 2023
1 parent 9af15d2 commit 02e7d3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion science/hdf5/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ use_bzip2 yes
depends_lib port:zlib port:libaec
use_parallel_build yes

patchfiles patch-tools-src-misc-h5cc.in.diff
# Remove patch-no-commons.diff when resolved in a future version.
# Expected for HDF5-1.14.3.

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.
Expand Down

0 comments on commit 02e7d3d

Please sign in to comment.