--- libdnet-stripped/configure.orig 2017-02-13 19:46:23 UTC +++ libdnet-stripped/configure @@ -733,6 +733,9 @@ ac_includes_default="\ #ifdef HAVE_STDINT_H # include #endif +#ifdef HAVE_SYS_SOCKET_H +# include +#endif #ifdef HAVE_UNISTD_H # include #endif" @@ -11716,11 +11719,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:${as_lineno-$LINENO}: result: $ac_cv_dnet_bsd_bpf" >&5