diff options
| author | Jack Nagel | 2014-11-16 14:13:38 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-16 14:14:15 -0600 |
| commit | 26e9d180cb59f5ab6a0fa3a11b150831958de1ac (patch) | |
| tree | 1536c8460c897841054a981ad08c0758e1271049 /Library/Formula | |
| parent | b6d65f7fbce8498075fc5f6751d06a7da0e9512b (diff) | |
| download | homebrew-26e9d180cb59f5ab6a0fa3a11b150831958de1ac.tar.bz2 | |
ngrep: find libpcap on Xcode-only systems
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ngrep.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ngrep.rb b/Library/Formula/ngrep.rb index 379305ce4..dbb17684d 100644 --- a/Library/Formula/ngrep.rb +++ b/Library/Formula/ngrep.rb @@ -25,7 +25,7 @@ class Ngrep < Formula "--enable-ipv6", "--prefix=#{prefix}", # this line required to make configure succeed - "--with-pcap-includes=/usr/include", + "--with-pcap-includes=#{MacOS.sdk_path}/usr/include", # this line required to avoid segfaults # see https://github.com/jpr5/ngrep/commit/e29fc29 # https://github.com/Homebrew/homebrew/issues/27171 |
