===> Building for openbfdd-0.5.3
/opt/pkg/bin/gmake  all-am
gmake[1]: Entering directory '/Users/pbulk/build/net/openbfdd/work/OpenBFDD-0.5.3'
  CXX      common.o
  CXX      utils.o
utils.cpp:541:11: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat]
          (unsigned int)port
          ^~~~~~~~~~~~~~~~~~
1 warning generated.
  CXX      log.o
  CXX      SmartPointer.o
  CXX      threads.o
  CXX      bfd.o
  CXX      TimeSpec.o
  CXX      Socket.o
Socket.cpp:308:40: error: use of undeclared identifier 'IPV6_RECVHOPLIMIT'
    return setIntSockOpt(IPPROTO_IPV6, IPV6_RECVHOPLIMIT, "IPV6_RECVHOPLIMIT", val);
                                       ^
Socket.cpp:327:40: error: use of undeclared identifier 'IPV6_RECVPKTINFO'
    return setIntSockOpt(IPPROTO_IPV6, IPV6_RECVPKTINFO, "IPV6_RECVPKTINFO", val);
                                       ^
2 errors generated.
gmake[1]: *** [Makefile:540: Socket.o] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/net/openbfdd/work/OpenBFDD-0.5.3'
gmake: *** [Makefile:400: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/openbfdd
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/openbfdd