[Bug 265561] net/wackamole: fix build on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Aug 2022 22:33:26 UTC

            Bug ID: 265561
           Summary: net/wackamole: fix build on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: portmaster@bsdforge.com
                CC: portmaster@bsdforge.com
             Flags: maintainer-feedback?(portmaster@bsdforge.com)
 Attachment #235618 maintainer-approval?(portmaster@bsdforge.com)
             Flags: merge-quarterly?

Created attachment 235618
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235618&action=edit
net/wackamole: fix build on armv7

Jails may not have a bpf(4) device, but can still build with BPF.

 - fix the configure test for BPF detection
 - define LICENSE
 - fix two obvious bugs in the code

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Please MFH if possible.

You are receiving this mail because:
You are the assignee for the bug.