Skip to content

Commit

Permalink
dhcpdump: rebuild
Browse files Browse the repository at this point in the history
* dhcpdump: fix build on Linux
* dhcpdump: add dependency

Closes Homebrew#102559.

Co-authored-by: Sean Molenaar <[email protected]>
Signed-off-by: Rui Chen <[email protected]>
Signed-off-by: BrewTestBot <[email protected]>
  • Loading branch information
2 people authored and BrewTestBot committed May 29, 2022
1 parent 2836af0 commit a6ffec8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/dhcpdump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ class Dhcpdump < Formula
sha256 cellar: :any_skip_relocation, yosemite: "6df64653cfd4b118db43e2acb2f08a565ac3cba9e1b739a258eeb7655c1a6103"
end

uses_from_macos "libpcap"

def install
system "make"
system "make", "CFLAGS=-DHAVE_STRSEP"
bin.install "dhcpdump"
man8.install "dhcpdump.8"
end
Expand Down

0 comments on commit a6ffec8

Please sign in to comment.