Skip to content

Commit

Permalink
groonga: use --with-ruby in stable releases too
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Mar 29, 2023
1 parent 4b04094 commit 07437de
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Formula/groonga.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class Groonga < Formula
depends_on "pcre"

uses_from_macos "libxcrypt"
uses_from_macos "ruby"

on_linux do
depends_on "glib"
Expand All @@ -55,16 +56,14 @@ def install
--disable-apache-arrow
--enable-mruby
--with-luajit=no
--with-ruby
--with-ssl
--with-zlib
--without-libstemmer
--with-mecab
]

if build.head?
args << "--with-ruby"
system "./autogen.sh"
end
system "./autogen.sh" if build.head?

mkdir "builddir" do
system "../configure", *args, *std_configure_args
Expand Down

0 comments on commit 07437de

Please sign in to comment.