Skip to content

Commit

Permalink
netcdf: revision bump (hdf5 1.14.4)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 authored and iMichka committed Sep 15, 2024
1 parent a210671 commit 0ae6868
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/n/netcdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Netcdf < Formula
url "https://github.com/Unidata/netcdf-c/archive/refs/tags/v4.9.2.tar.gz"
sha256 "bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7"
license "BSD-3-Clause"
revision 1
revision 2
head "https://github.com/Unidata/netcdf-c.git", branch: "main"

livecheck do
Expand Down Expand Up @@ -52,6 +52,10 @@ def install
# Remove shim paths
inreplace [bin/"nc-config", lib/"pkgconfig/netcdf.pc", lib/"cmake/netCDF/netCDFConfig.cmake",
lib/"libnetcdf.settings"], Superenv.shims_path/ENV.cc, ENV.cc

# Fix bad flags, breaks vtk build
# https://github.com/Homebrew/homebrew-core/pull/170959#discussion_r1744656193
inreplace lib/"cmake/netCDF/netCDFTargets.cmake", "hdf5_hl-shared;hdf5-shared;", "hdf5_hl;hdf5;"
end

test do
Expand Down

0 comments on commit 0ae6868

Please sign in to comment.