Skip to content
Browse files

Add support for FreeBSD 11.

PR:		ports/183594
Approved by:	maintainer timeout (17 days)
  • Loading branch information...
1 parent ef6ed03 commit 5445e261a9341e708b4a0be24f1048fda465d52d tijl committed
View
2 net-mgmt/net-snmp/Makefile
@@ -150,7 +150,7 @@ NET_SNMP_LOGFILE?= /var/log/snmpd.log
NET_SNMP_PERSISTENTDIR?=/var/net-snmp
NET_SNMP_WITH_MIB_MODULE_LIST+= host disman/event-mib mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio
-.if ${OSVERSION} >= 700028 && ${OSVERSION} < 1100000
+.if ${OSVERSION} >= 700028
NET_SNMP_WITH_MIB_MODULE_LIST+= sctp-mib
.endif
View
10 net-mgmt/net-snmp/files/patch-agent-mibgroup-mibII-ipv6.c
@@ -0,0 +1,10 @@
+--- 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 <net/if.h>
+ #if HAVE_NET_IF_VAR_H
++#define _WANT_IFADDR
+ #include <net/if_var.h>
+ #endif
+ #if HAVE_NET_IF_DL_H
View
21 net-mgmt/net-snmp/files/patch-include-net-snmp-system-freebsd
@@ -0,0 +1,21 @@
+--- include/net-snmp/system/freebsd9.h.orig
++++ include/net-snmp/system/freebsd9.h
+@@ -1,3 +1,3 @@
+ /* freebsd9 is a superset of freebsd8 */
+ #include "freebsd8.h"
+-#define freebsd9 freebsd9
++#define freebsd8 freebsd8
+--- include/net-snmp/system/freebsd10.h.orig
++++ include/net-snmp/system/freebsd10.h
+@@ -1,3 +1,3 @@
+-/* freebsd9 is a superset of freebsd10 */
++/* freebsd10 is a superset of freebsd9 */
+ #include "freebsd9.h"
+-#define freebsd10 freebsd10
++#define freebsd9 freebsd9
+--- include/net-snmp/system/freebsd11.h.orig
++++ include/net-snmp/system/freebsd11.h
+@@ -0,0 +1,3 @@
++/* freebsd11 is a superset of freebsd10 */
++#include "freebsd10.h"
++#define freebsd10 freebsd10

0 comments on commit 5445e26

Please sign in to comment.
Something went wrong with that request. Please try again.