From e66dfc96142b906a73bc85cd5a16bf9395a62fe9 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 25 Jul 2024 07:42:37 -0400 Subject: [PATCH] aide: declare indirect deps with linkage Signed-off-by: Rui Chen --- Formula/a/aide.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/a/aide.rb b/Formula/a/aide.rb index 2fc05b3561ec..aab4d3eb8580 100644 --- a/Formula/a/aide.rb +++ b/Formula/a/aide.rb @@ -24,6 +24,7 @@ class Aide < Formula end depends_on "pkg-config" => :build + depends_on "libgcrypt" depends_on "libgpg-error" depends_on "pcre2" @@ -31,6 +32,7 @@ class Aide < Formula uses_from_macos "bison" => :build uses_from_macos "flex" => :build uses_from_macos "curl" + uses_from_macos "zlib" def install # use sdk's strnstr instead @@ -39,11 +41,9 @@ def install system "sh", "./autogen.sh" if build.head? args = %W[ - --disable-lfs --disable-static --with-zlib --sysconfdir=#{etc} - --prefix=#{prefix} ] args << if OS.mac? @@ -52,7 +52,7 @@ def install "--with-curl=#{Formula["curl"].prefix}" end - system "./configure", *args + system "./configure", *args, *std_configure_args.reject { |s| s["--disable-debug"] } system "make", "install" end @@ -69,6 +69,6 @@ def install database_attrs = sha256 /etc p+i+u+g+sha256 EOS - system "#{bin}/aide", "--config-check", "-c", "aide.conf" + system bin/"aide", "--config-check", "-c", "aide.conf" end end