From 94cefa1d00ebe9ad8a92f92b0e2a1ec4cad8d656 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Sat, 14 Dec 2024 17:20:16 +0300 Subject: [PATCH] fixup! fixup! sile: 0.15.8 --- Formula/s/sile.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Formula/s/sile.rb b/Formula/s/sile.rb index 1b41715dfd180..49964e4041ded 100644 --- a/Formula/s/sile.rb +++ b/Formula/s/sile.rb @@ -141,12 +141,13 @@ class Sile < Formula def install # Workaround upstream Darwin detection not triggering autoreconf - stable do - # !OS.linux? - inreplace "Makefile.in", "rusile.so", "rusile.dylib" - inreplace "Makefile.in", "rusile_so", "rusile_dylib" - inreplace "aminclude.am", "rusile.so", "rusile.dylib" - inreplace "aminclude.am", "rusile_so", "rusile_dylib" + if build.stable? && !OS.linux? + # inreplace "Makefile.in", "rusile_so", "rusile_dylib" + # inreplace "Makefile.in", "rusile.so", "rusile.dylib" + # inreplace "aminclude.am", "rusile_so", "rusile_dylib" + # inreplace "aminclude.am", "rusile.so", "rusile.dylib" + inreplace "configure.ac", "AC_CANONICAL_TARGET", "AC_CANONICAL_HOST" + inreplace "configure.ac", "target_os", "host_os" system "autoreconf", "-fiv" end