File tree 1 file changed +9
-12
lines changed
1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,17 @@ class Gaul < Formula
23
23
sha256 cellar : :any_skip_relocation , x86_64_linux : "86d80af0c4bdef2186dccac01b0046ca2ca2c81c484b7c5f279553b2e190b53c"
24
24
end
25
25
26
- on_macos do
27
- depends_on "autoconf" => :build
28
- depends_on "automake" => :build
29
- depends_on "libtool" => :build
30
- end
26
+ depends_on "autoconf" => :build
27
+ depends_on "automake" => :build
28
+ depends_on "libtool" => :build
31
29
32
30
def install
33
- # Run autoreconf on macOS to rebuild configure script so that it doesn't try
34
- # to build with a flat namespace.
35
- system "autoreconf" , "--force" , "--verbose" , "--install" if OS . mac?
36
- system "./configure" , "--disable-dependency-tracking" ,
37
- "--disable-debug" ,
38
- "--disable-g" ,
39
- "--prefix=#{ prefix } "
31
+ # Run autoreconf to regenerate the configure script and update outdated macros.
32
+ # This ensures that the build system is properly configured on both macOS
33
+ # (avoiding issues like flat namespace conflicts) and Linux (where outdated
34
+ # config scripts may fail to detect the correct build type).
35
+ system "autoreconf" , "--force" , "--verbose" , "--install"
36
+ system "./configure" , *std_configure_args
40
37
system "make" , "install"
41
38
end
42
39
end
You can’t perform that action at this time.
0 commit comments