Skip to content

Commit

Permalink
fixup! sile: 0.15.8
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 14, 2024
1 parent 228085a commit 9ddd9ff
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Formula/s/sile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,13 @@ class Sile < Formula
end

def install

Check failure on line 145 in Formula/s/sile.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew install --verbose --formula --build-bottle sile` failed on macOS Sonoma (14) on Apple Silicon!

::error::sile 0.15.8 did not build

Check failure on line 145 in Formula/s/sile.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew install --verbose --formula --build-bottle sile` failed on macOS Ventura (13) on Apple Silicon!

::error::sile 0.15.8 did not build
# Workaround upstream darwin detection not picking up on e.g. aarch64-apple-darwin22.6.0
inreplace "configure", "darwin*", "*darwin*" if build.stable?
# Workaround upstream Darwin detection not triggering autoreconf
stable do
inreplace "Makefile.am", "rusile.so", "rusile.dylib"
inreplace "Makefile.am", "rusile_so", "rusile_dylib"
inreplace "aminclude.am", "rusile.so", "rusile.dylib"
inreplace "aminclude.am", "rusile_so", "rusile_dylib"
end

lua = Formula["luajit"]
luaversion = "5.1"
Expand Down Expand Up @@ -196,6 +201,8 @@ def install

system "./bootstrap.sh" if build.head?
system "./configure", *configure_args, *std_configure_args
system "grep", "-R", "SHARED_LIB_EXT"
system "grep", "-R", "librusile"
system "make"
system "make", "install"
end
Expand Down

0 comments on commit 9ddd9ff

Please sign in to comment.