From e297e6fd44677d4c7c23c2967461efbdb6d8f790 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..9e98b77606d99 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? and !OS.linux? do + # 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