Commit 8a4cf387 authored by Casey Strouse's avatar Casey Strouse Committed by GitHub

Add explicit libpcap path and change configure format (#3836)

parent 8e2767c7
...@@ -17,13 +17,13 @@ class Sngrep < Package ...@@ -17,13 +17,13 @@ class Sngrep < Package
def self.build def self.build
system 'AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 ./bootstrap.sh' system 'AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 ./bootstrap.sh'
system "./configure CPPFLAGS=-I#{CREW_PREFIX}/include/ncursesw", system "./configure CPPFLAGS=\"-I#{CREW_PREFIX}/include/ncursesw -I#{CREW_PREFIX}/include/libpcap\" \
"--prefix=#{CREW_PREFIX}", --prefix=#{CREW_PREFIX} \
"--libdir=#{CREW_LIB_PREFIX}", --libdir=#{CREW_LIB_PREFIX} \
'--with-openssl', --with-openssl \
'--with-pcre', --with-pcre \
'--disable-logo', --disable-logo \
'--enable-ipv6' --enable-ipv6"
system 'make' system 'make'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment