Index: Makefile =================================================================== --- Makefile (revision 334621) +++ Makefile (working copy) @@ -158,6 +158,10 @@ CONFIGURE_ARGS+= --with-libs="-lssp_nonshared" .endif +.if ${OSVERSION} >= 1000000 +CFLAGS+= -D_WANT_IFADDR +.endif + .if ${PORT_OPTIONS:MMFD_REWRITES} CONFIGURE_ARGS+=--enable-mfd-rewrites NET_SNMP_WITH_MIB_MODULE_LIST+= if-mib Index: files/patch-Makefile.in =================================================================== --- files/patch-Makefile.in (revision 0) +++ files/patch-Makefile.in (working copy) @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2013-11-22 12:27:23.000000000 -0800 ++++ Makefile.in 2013-11-22 12:28:30.000000000 -0800 +@@ -20,7 +20,7 @@ + INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \ + darwin.h darwin7.h darwin8.h darwin9.h darwin10.h dragonfly.h dynix.h \ + freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h \ +- freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd.h \ ++ freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd11.h freebsd.h \ + generic.h \ + hpux.h irix.h linux.h mingw32.h mips.h netbsd.h osf5.h \ + openbsd.h openbsd5.h openbsd4.h \ Property changes on: files/patch-Makefile.in ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: files/patch-agent-mibgroup-mibII-ipv6.c =================================================================== --- files/patch-agent-mibgroup-mibII-ipv6.c (revision 334621) +++ files/patch-agent-mibgroup-mibII-ipv6.c (working copy) @@ -1,10 +0,0 @@ ---- agent/mibgroup/mibII/ipv6.c.orig 2012-10-10 00:28:58.000000000 +0200 -+++ agent/mibgroup/mibII/ipv6.c 2013-11-19 21:01:33.000000000 +0100 -@@ -55,6 +55,7 @@ - #endif - #include - #if HAVE_NET_IF_VAR_H -+#define _WANT_IFADDR - #include - #endif - #if HAVE_NET_IF_DL_H Index: pkg-plist =================================================================== --- pkg-plist (revision 334621) +++ pkg-plist (working copy) @@ -183,6 +183,7 @@ include/net-snmp/system/freebsd8.h include/net-snmp/system/freebsd9.h include/net-snmp/system/freebsd10.h +include/net-snmp/system/freebsd11.h include/net-snmp/system/generic.h include/net-snmp/system/hpux.h include/net-snmp/system/irix.h