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
def self.build
system 'AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 ./bootstrap.sh'
system "./configure CPPFLAGS=-I#{CREW_PREFIX}/include/ncursesw",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--with-openssl',
'--with-pcre',
'--disable-logo',
'--enable-ipv6'
system "./configure CPPFLAGS=\"-I#{CREW_PREFIX}/include/ncursesw -I#{CREW_PREFIX}/include/libpcap\" \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--with-openssl \
--with-pcre \
--disable-logo \
--enable-ipv6"
system 'make'
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