See http://people.freebsd.org/~pi/logs/net-mgmt__net-snmp-cur-1488814302.txt If add --without-libwrap to CONFIGURE_ARGS in the port Makefile, it builds on 12a.
ping!
A commit references this bug: Author: zi Date: Wed Jan 17 18:54:59 UTC 2018 New revision: 459281 URL: https://svnweb.freebsd.org/changeset/ports/459281 Log: - Resolve build failure under 12-CURRENT PR: 217589 Submitted by: pi@ Changes: head/net-mgmt/net-snmp/Makefile
Why did you fix a build that wasn't broken? http://beefy12.nyi.freebsd.org/data/head-amd64-default/p458948_s327953/logs/net-snmp-5.7.3_17.log http://beefy11.nyi.freebsd.org/data/head-i386-default/p458948_s327953/logs/net-snmp-5.7.3_17.log https://clbin.com/tzrWf (same options as comment 0)
I've run into multiple issues related to this in the past and decided that it was best to just remove it. Do you use libwrap with net-snmp? If so, I can OPTIONize it for you.