From 1fe6bec8e6db1fe15fca25b10b0900075fce4322 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Nov 2014 22:12:31 -0600 Subject: tcpreplay: find libpcap on Xcode-only systems Fixes #34063. --- Library/Formula/tcpreplay.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/tcpreplay.rb b/Library/Formula/tcpreplay.rb index d066a8d23..9744b40ab 100644 --- a/Library/Formula/tcpreplay.rb +++ b/Library/Formula/tcpreplay.rb @@ -16,7 +16,8 @@ class Tcpreplay < Formula system "./configure", "--disable-dependency-tracking", "--disable-debug", "--prefix=#{prefix}", - "--enable-dynamic-link" + "--enable-dynamic-link", + "--with-libpcap=#{MacOS.sdk_path}/usr" system "make", "install" end end -- cgit v1.2.3