Skip to content

Commit

Permalink
Merge pull request #177231 from Homebrew/sofia-sip-linkage
Browse files Browse the repository at this point in the history
sofia-sip: declare indirect deps with linkage
  • Loading branch information
chenrui333 authored Jul 13, 2024
2 parents 9afdeb4 + 15766f4 commit 4fe519d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Formula/s/sofia-sip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,24 @@ class SofiaSip < Formula
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build

depends_on "glib"
depends_on "openssl@3"

uses_from_macos "zlib"

on_macos do
depends_on "gettext"
end

def install
system "./bootstrap.sh"
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "./configure", "--disable-silent-rules", *std_configure_args
system "make", "install"
end

test do
system "#{bin}/localinfo"
system "#{bin}/sip-date"
system bin/"localinfo"
system bin/"sip-date"
end
end

0 comments on commit 4fe519d

Please sign in to comment.