Skip to content

Commit

Permalink
a hot fix to correct a bug in MacOS.version (it needs to use a symbol…
Browse files Browse the repository at this point in the history
… rather than numeric version)
  • Loading branch information
kazuakiyama committed Mar 4, 2024
1 parent 6b8815e commit 02ac725
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pgplot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Pgplot < Formula
mirror "https://gentoo.osuosl.org/distfiles/pgplot522.tar.gz"
version "5.2.2"
sha256 "a5799ff719a510d84d26df4ae7409ae61fe66477e3f1e8820422a9a4727a5be4"
revision 12
revision 13

depends_on "gawk" # for makedocs (apparently system-defaul awk won't work after catalina)
depends_on "gcc" # for gfortran
Expand Down Expand Up @@ -38,7 +38,7 @@ def install
ENV.deparallelize
ENV.append "CPPFLAGS", "-DPG_PPU"

if MacOS.version >= 13.0
if MacOS.version >= :ventura
ENV.append "CPPFLAGS", "-mmacosx-version-min=12.4"
end

Expand Down

0 comments on commit 02ac725

Please sign in to comment.