ofalk / libdnet

libdnet provides a simplified, portable interface to several low-level networking routines.
Other
153 stars 60 forks source link

Allow building on Debian GNU/kFreeBSD #65

Closed florianernst closed 2 years ago

florianernst commented 2 years ago

Hello all,

there is a Debian port to a FreeBSD kernel, and the patch below allows building dnet on it:

Index: libdnet/configure.ac
===================================================================
--- libdnet.orig/configure.ac
+++ libdnet/configure.ac
@@ -257,7 +257,7 @@ elif test "$ac_cv_header_net_pfvar_h" =
 elif test "$ac_cv_header_netinet_ip_fw_h" = yes ; then
      dnl XXX - ipfw2 support later...
      case "$host_os" in
-     *freebsd5*)
+     *freebsd5* | *kfreebsd*)
        AC_LIBOBJ([fw-none]) ;;
      *)
        AC_LIBOBJ([fw-ipfw]) ;;

Cheers, Flo

florianernst commented 2 years ago

Forgot to mention: this patch was initially created by hesso@pool.math.tu-berlin.de for Debian.

ofalk commented 2 years ago

Fixed. Trail to original author here in this issue.