Skip to content

Commit 8a5db97

Browse files
committed
bsdiff: build with maintained, cross-platform bmake
1 parent 2bc1b16 commit 8a5db97

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Formula/b/bsdiff.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ class Bsdiff < Formula
2828
sha256 cellar: :any_skip_relocation, catalina: "648a52a8af8e8f17feb9e34168dd0f00abfc98e9f0f3aa7fd88fb1458a782098"
2929
end
3030

31-
depends_on "bsdmake" => :build
31+
depends_on "bmake" => :build
32+
33+
uses_from_macos "bzip2"
3234

3335
patch :DATA
3436

3537
def install
36-
system "bsdmake"
38+
ENV.append "LDLIBS", "-lbz2" unless OS.mac?
39+
system "bmake"
3740
bin.install "bsdiff"
3841
man1.install "bsdiff.1"
3942
end

0 commit comments

Comments
 (0)