opnsense-ports/security/nmap/files/patch-libdnet-stripped__configure
Franco Fichtner 263791a372 security/nmap: sync with upstream
Taken from: FreeBSD
2015-11-21 06:58:00 +01:00

16 lines
500 B
Text

--- libdnet-stripped/configure.orig 2011-09-28 06:55:47 UTC
+++ libdnet-stripped/configure
@@ -14344,11 +14344,8 @@ $as_echo_n "checking for Berkeley Packet
if test "${ac_cv_dnet_bsd_bpf+set}" = set; then
$as_echo_n "(cached) " >&6
else
- if test -c /dev/bpf0 ; then
- ac_cv_dnet_bsd_bpf=yes
- else
- ac_cv_dnet_bsd_bpf=no
- fi
+# PR ports/154353 : support building in FreeBSD jail
+ ac_cv_dnet_bsd_bpf=yes
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_dnet_bsd_bpf" >&5