summaryrefslogtreecommitdiff
path: root/data/tcpdump/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 12:17:38 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 12:17:38 -1000
commite98cfbb0ae6ecd04665a24945b2a494e4b5ee4a9 (patch)
treebffbe8a34f075ee19b747c331d86299c08e2f9f0 /data/tcpdump/make.sh
parent8f4591196c5ef7964ccf919b2bb980cefbdf424a (diff)
Update tcpdump to 4.9.2
Diffstat (limited to 'data/tcpdump/make.sh')
-rw-r--r--data/tcpdump/make.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/tcpdump/make.sh b/data/tcpdump/make.sh
index f58a4da23..4a8d48219 100644
--- a/data/tcpdump/make.sh
+++ b/data/tcpdump/make.sh
@@ -1,4 +1,6 @@
pkg:setup
-Xprefix="$(PKG_DEST_ openssl)/usr" pkg:configure
+cp "$(PKG_DEST_ libpcap)/usr/bin/pcap-config" .
+sed -ie "s|prefix=.*|prefix=$(PKG_DEST_ libpcap)/usr|" pcap-config
+Xprefix="$(PKG_DEST_ openssl)/usr" pkg:configure ac_cv_header_net_pfvar_h=no ac_cv_path_ac_pt_PCAP_CONFIG="./pcap-config"
make
pkg:install